I have to rescue data from original svn repository db files. But didn't figure out the file layout, which full of something like:
--- file 1571 --- DELTA 1558 23 445 SVN id: 5-1571.0.r1571/82 type: file count: 0 text: 1516 5 650 633 5cdfa0ccaca91d719e03c1682d7a0e25 e978c715ae8c17113cdf1ebfc0201428ebf6dcb3 1570-17x/_2s props: 2 936 65 53 113136892f2137aa0116093a524ade0b a0284943f8ddfe69ceec90833e66d96bdf4a97f0 1570-17x/_3e --- file end --- ??: 84763 4100cd7c33850d85660e2d94be90e1e7 85253 4fae2cf14498d1e591ebc43102fc986dM File 1571 reference to 1570. How can i ignore the missing files to restore data in 1571 into dump? Tobias Knauss über TortoiseSVN <[email protected]> 於 2020年12月18日 週五 下午2:44寫道: > > [email protected] schrieb am Donnerstag, 17. Dezember 2020 um 05:14:53 UTC+1: >> >> I had my computer crushed and retrieve files under \db\revprops\ and >> \db\revs\, try to skip some missing revisions as bellow: >> >> svnadmin dump -r 1572:1878 --incremental C:\codes\old_svn\repository > >> C:\codes\old_svn\repos-dumpfile >> svnadmin: E160006: No such revision 1570 >> >> svnadmin dump -r 1573:1878 --incremental C:\codes\old_svn\repository > >> C:\codes\old_svn\repos-dumpfile >> svnadmin: E160006: No such revision 1570 >> >> then i try this: >> svnrdump dump -r 1870:1878 --incremental C:\codes\old_svn\repository > >> C:\codes\old_svn\repos-dumpfile >> svnrdump: E160006: No such revision 1536 >> >> that must be have some corrupted revisions. Does there any way to rescue the >> correct files into a healthy repository? >> > > I am not a developer, neither of TortoiseSVN, nor of SVN library. But I once > were in a similar situation, not as severe as your's though. > However, I managed to repair my repo dump, see > https://stackoverflow.com/a/46904651 > The files you mention are plain text files, so you might be able to fix them > as well. Take a backup of all existing data, then start manipulating... I > think you should be able to find out the meaning of the vaious sections in > those files based from the changes you made and the log messages you entered. > And you may create a new, file-based repo to experiment with the contents of > these files to help you finding out what each section means and does. > I can't give you any more details right now, because I don't have any > specification of the content of these files, and my repair operation has been > some time ago. > > -- > You received this message because you are subscribed to the Google Groups > "TortoiseSVN" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tortoisesvn/b88d1536-6602-4699-9231-739f3a196b32n%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "TortoiseSVN" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/CALLXB_UaacZCohQkHEJ1ij0J%2BdwPv3y9evpVQwJ9ZdZz9VejCA%40mail.gmail.com.
