Can't resolve Subversion 1.7 checksum mismatch error on upgrade
Updating 'trunk/src/Makefile':
svn: E155017: Checksum mismatch for '/Volumes/project/dev/torc/trunk/src/Makefile':
expected: 78ee11ff73f3b68c903db838b6667ec3
recorded: 62bbbf4362958e3fd42470650d5b4eb6
I have read SVN - Checksum Mismatch on Update , and its two main solutions are to change .svn/entries
or delete and restore the directory. There is nothing useful about the top-level file .svn/entries
in section 1.7, and deleting and restoring the directory did not solve my problem. Does anyone have any other suggestions?
source to share
This may be an older question, but I would like to share how I resolved it without checking out the entire (multiple GB) repository. I hope this helps people who have the same problem.
I am using TortoiseSVN for Windows.
- Open Repo-Browser by right-clicking on the parent folder of the file and choosing TortoiseSVN> Repo-Browser
- In the repo browser, right click on the file, select Update Item in Editor
- From the Refresh Depth drop-down menu, select Exclude , click OK. This removes the checksum entry from the local repository database.
- Delete the file in explorer (trashbin), update the repository
- Go back to the Update Item In Editor section, for Update Depth, select Working Copy
- Update the repository again
Everything should be normal.
source to share
In my case, the problem was a corrupted .svn / pristine folder, and I solved it by replacing that whole folder with another from a clean working copy.
I am using SVN 1.8.4 under Cygwin.
Steps to fix the problem:
- backups, if any
- back up .svn / pristine (in the root wc folder).
- prepare link wc: ('svn commit / revert; svn update')
- replace .svn / pristine with the problem with one of the wc link
- enjoy :)
source to share