开发者

svnadmin load checksum error

I have a SVN dump with some manually modified code in it, an I'm tryng to l开发者_运维知识库oad 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?


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


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.


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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜