svk校验和不匹配 [英] svk checksum mismatch
问题描述
过去6个月来我一直在使用SVK,没有任何问题.然后,当发生以下错误时,我尝试提交文件:
I've been using SVK without any issues the last 6 months. I then attempted to commit a file, when the following error occurred:
%> svk commit -m "Message" foo/bar/file.txt
Commit into mirrored path: merging back directly.
Merging back to mirror source file:///usr/local/svn/repo.
A checksum mismatch occurred: Base checksum mismatch on '/trunk/foo/bar/file.txt':
expected: 9e421f7db5c4c0d6796c90524456d7f4
actual: ed4e76ccf3e54223908179735ecf1e89
有人知道如何解决此问题吗?
Anyone know how to resolve this issue?
推荐答案
只需要补充-s ,可在此处找到答案:
Just needed svk up -s, answer found here:
... svk up is 不足以确保您的仓库 反映 远程存储库.相反,您必须 执行svk同步(请参阅svk帮助同步 有关选项的信息) 使本地仓库保持最新状态,或者 通过-s开关将svk设置为 达到同样的效果...
... svk up is not enough to ensure that your depot reflects the latest changes in the remote repository. Instead you must perform an svk sync (see svk help sync for information about options) to bring the local depot up to date, or pass the -s switch to svk up to achieve the same effect ...
# alternative 1:
svk sync //mirrors/mirrored_repo_name
svk up
# alternative 2:
svk up -s
这篇关于svk校验和不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!