Reputation: 982
I have a SVN dump with some manually modified code in it, an I'm tryng to load the dump back into a repository. The problem is now I have checksum failures for the changed revisions. Is there any way to recalculate the md5 checksums for the entire dump file, or at least force svnadmin to load it?
Upvotes: 4
Views: 2873
Reputation: 4320
I had the exact problem and I fixed by removing the checksum lines entirely:
sed '/Text-content-md5/d' dumpfile.txt | svnadmin load repo --bypass-prop-validation
Upvotes: 0
Reputation: 3298
In some cases you don't need the md5 checksum. I was having this problem and simply removing those lines worked.
sed -i '/Text-copy-source-md5/d' repo.dump
Upvotes: 1
Reputation: 97467
During the load the new checksum will be printed out (as far as i remember) as part of the error message...Just take the checksum and put into the field in the dump file instead.
Upvotes: 0