Alex Rivera | Logout

Repair SVN Checksum

Asked 2008-08-08T16:49:17.377
68

I'm using subclipse in Flex Builder 3, and recently received this error when trying to commit:

svn: Checksum mismatch for '/Users/redacted/Documents/Flex Builder 3/path/to/my/file.mxml'; expected: 'f8cb275de72776657406154dd3c10348', actual: 'null'

I worked around it by:

  1. Committing all the other changed files, omitting the troublesome one.
  2. Copying the contents of the trouble file to a TextMate window
  3. Deleting my project in FlexBuilder/Eclipse
  4. Checking my project out fresh from SVN
  5. Copying the text of the trouble file back in from the TextMate Window
  6. Committing the changes.

It worked, but I can't help but think there's a better way. What's actaully happening to cause the svn:checksum error, and what's the best fix.

Maybe more important -- is this a symptom of a greater problem?

Edit
Report

1 Answer

4

I've observed a lot of solutions from patching .svn/entries file to fresh checkout.

It can be a new way (thank to my collegue):

- go to work directory where recorder/expected checksum issue occured
- call "svn diff" and make sure that there isnt any local modifications
- cd ..
- remove trouble file's directory with "rm -rf"
- issue "svn up" command, svn client will restore new fresh files copies
answered 2011-05-06T13:58:46.530

Your Answer