Just a while ago, when I try to update from SVN repository, an error happened:

$ svn update main
svn: Checksum mismatch for ‘main/tako-repository-logic/.svn/text-base/project.properties.svn-base’; expected: ‘ea8835ae69173d10e5a1519e5fa8284e’, actual: ‘59f10af8158532e7ddf8d03cbc9cfba4′

Google this problem it seemed many people meet similar problem, however most of them seemed just asking for help, not too many workable answers over there.

It’s very possible that some file was corrupt in the disk, so SVN refuse to continue the work.  I fix this problem by first rename the directory contain problem file(s), and the run SVN again to check out the fresh copy.  If no further problem, I just delete the old renamed directory which contain corrupt files.

  $mv  main/tako-repository-logic main/tako-respository-logic.bak

$svn update main

U   main
Updated to revision 17719.

$rm -r main/respository-logic.bak

Since this is a update action, I can just delete the back up folder, if the folder contain some uncommitted files, we will need to synchronize those files to new checked out folder.

UPDATE:  found a blog post “subversion checksum mismatch - easy workaround“, same problem, similar solution.

Popularity: 10% [?]



2 Comments to “Fix “svn: Checksum mismatch…” problem”

  1. Drunken breath | October 18th, 2007 at 9:38 am

    …the people have a right to keep and bear arms. PATRICK HENRY AND GEORGE MASON, Elliot, Debates at 185

  2. half-faced husband | October 20th, 2007 at 4:25 pm

    A woman is an occasional pleasure but a cigar is always a smoke — Groucho Marx

Leave a Comment

Close
E-mail It
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License.