现在的位置: 首页 > 综合 > 正文

[SVN]How-to recover from checksum mismatch errors in SVN

2013年03月05日 ⁄ 综合 ⁄ 共 639字 ⁄ 字号 评论关闭

1.check out the directory in other place, we'll call it the tmp_directory
2.delete the files in the following directory:
         working_directory/.svn/text-base
    before that , you can make a copy in case any thing bad happen
3.copy the files in tmp_director/.svn/text-base to working_directory
4.everything is back to normal now

 

the reason for something like that happen is the files in working_director/.svn/text-base/ is different from the one stored in the server.And it perfectly explains the problem. 
 
参考:
1.http://andrew.hedges.name/blog/2009/01/25/how-to-recover-from-checksum-mismatch-errors-in-svn
2.http://maymay.net/blog/2008/06/17/fix-subversion-checksum-mismatch-error-by-editing-svnentries-file/

抱歉!评论已关闭.