svk校验和不匹配 [英] svk checksum mismatch

查看:119
本文介绍了svk校验和不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

过去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

... 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆