Fancy stuff about my technical life

What this all about is....

svn: Base checksum mismatch -- very simple solution

posted by cimnine @ 4:57pm, Monday 15 June 2009.

commit -m "Done Something." /path/to/Class.java
    /path/to/Class.java Sending
    Transmitting file data ...
    A checksum mismatch occurred
svn: Commit failed (details follow):
svn: Base checksum mismatch on '/path/to/Class.java':
   expected:  ccfa7fbde34401b8db0930afc62bXXXX
     actual:  212062ca0fe2745fdf462377da58XXXX

If you face this problem, copy every (at least modified) file out of this directory, delete the folder, and do an «svn up». In simple Unix-Commands:

mkdir /tmp/path/to
cd /path/to/* /tmp/path/to
rm -R /tmp/path/to/.svn  /path/to
svn up
mv /tmp/path/to /path/toP>

Now you should be able to commit again.

~Chris

Del.icio.us Digg Technorati Blinklist Furl Reddit Facebook

Comments

Submit Your Comment

You are not logged in.