更新时无法解决Subversion 1.7校验和不匹配错误 [英] Cannot resolve Subversion 1.7 checksum mismatch error on update
问题描述
我的Subversion 1.7.17工作副本对特定文件不满意,但无法更新它。即使我删除文件或删除目录,任何更新尝试都会给我同样的错误:
My Subversion 1.7.17 working copy is unhappy with a particular file but is unable to update it. Any attempt to update gives me the same error, even if I delete the file or delete the directory:
Updating 'trunk/src/Makefile':
svn: E155017: Checksum mismatch for '/Volumes/project/dev/torc/trunk/src/Makefile':
expected: 78ee11ff73f3b68c903db838b6667ec3
recorded: 62bbbf4362958e3fd42470650d5b4eb6
我已阅读,它的两个主要解决方案是修改 .svn / entries
或删除并恢复目录。 1.7下的顶级 .svn / entries
文件没有任何用处,删除和还原目录并不能解决我的问题。有人有其他建议吗?
I have read through SVN - Checksum mismatch while updating, and its two main solutions are to modify .svn/entries
or to delete and restore the directory. There is nothing useful in the top-level .svn/entries
file under 1.7, and deleting and restoring the directory did not fix my problem. Does anybody have other suggestions?
推荐答案
这可能是一个较旧的问题,但我想分享我如何解决而无需检查删除整个(多个GB)存储库。希望对遇到同样问题的人有所帮助。
This might be an older question, but I would like to share how I resolved it without checking out the entire (multiple GB) repository. I hope it helps people that have the same problem.
我在Windows上使用TortoiseSVN。
I'm using TortoiseSVN on Windows.
- 通过右键单击文件的父文件夹并选择TortoiseSVN> Repo-Browser
- ,打开 Repo-Browser ,右键单击文件,选择更新项目以修订
- 在下拉菜单更新深度中,选择排除,然后单击确定。这将从本地存储库数据库中删除校验和条目。
- 在资源管理器(垃圾箱)中删除文件,更新存储库
- 返回到更新项目以进行修订,为更新深度选择工作副本
- 再次更新存储库
- Open the Repo-Browser by right-clicking on the file's parent folder and selecting TortoiseSVN > Repo-Browser
- In the repo-browser, right-click on your file, Select Update item to Revision
- In the Drop-Down menu Update Depth, select Exclude, click OK. This removes the checksum entry from your local repository database.
- Delete the file in the Explorer (trashbin), update your repository
- Go back to "Update item to Revision", for Update Depth select Working Copy
- Update your repository again
一切都应该恢复正常。
这篇关于更新时无法解决Subversion 1.7校验和不匹配错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!