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

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/

你可能感兴趣的:(checksum)