[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/

posted @ 2010-03-15 11:28  梁星  阅读(881)  评论(0编辑  收藏  举报
Mobile and Web Analytics