svn: Base checksum mismatch

December 14th, 2007 by  |  Published in SVN

Today I had difficulties commiting a source file as I got this error

svn: Checksum mismatch for /path/to/SourceFile.javaexpected: [checksum],actual: [checksum]

The problem occurred after moving a package into a different source-folder, with the mentioned file as new file in it. If you’re experiencing the same problem, just stop trying to fix it “the nice way”. Rather follow this easy workaround that suggests checking out the folder where the file lies into a temp-directory, then override your existing folder in your project with the newly checked out one.
It’s quick and dirty but it’s gonna save you a load of time :-)

Leave a Response