提交时 SVN 校验和错误
在我使用 ubuntu 11.04 之前,一切都与 svn 配合良好。 两周前,我切换到 CentOS 6,问题出现了。
这是 svn infos :
$ svn --version
svn, version 1.6.15 (r1038135)
compilé Mar 24 2011, 08:25:37
$ yum info subversion
Loaded plugins: fastestmirror, refresh-packagekit
Installed Packages
Name : subversion
Arch : i686
Version : 1.6.15
Release : 0.1.el6.rfx
Size : 21 M
Repo : installed
From repo : rpmforge-extras
Summary : Modern Version Control System designed to replace CVS
URL : http://subversion.tigris.org/
License : BSD
error datails :
svn: Checksum mismatch for '/www/project/.svn/text-base/blah.ext';
expected: 'af3389a068d0747a549fc72fa5e6442c', actual: 'd60bf8195117a60415ff63e29813b8a2'
我已经通过几个步骤第一次解决了这个问题:
-copy and rename /www/project/blah.ext
-svn remove blah.ext
-svn ci -m ""
-rename blah.ext
-svn add blah.ext
-svn ci -m ""
但是当我想提交时我不能一直这样做
before i used ubuntu 11.04 and everything go well with svn.
Two weeks ago, I switched to CentOS 6 and the problems appears.
this is svn infos :
$ svn --version
svn, version 1.6.15 (r1038135)
compilé Mar 24 2011, 08:25:37
$ yum info subversion
Loaded plugins: fastestmirror, refresh-packagekit
Installed Packages
Name : subversion
Arch : i686
Version : 1.6.15
Release : 0.1.el6.rfx
Size : 21 M
Repo : installed
From repo : rpmforge-extras
Summary : Modern Version Control System designed to replace CVS
URL : http://subversion.tigris.org/
License : BSD
error datails :
svn: Checksum mismatch for '/www/project/.svn/text-base/blah.ext';
expected: 'af3389a068d0747a549fc72fa5e6442c', actual: 'd60bf8195117a60415ff63e29813b8a2'
I have solved this probleme first time in few steps:
-copy and rename /www/project/blah.ext
-svn remove blah.ext
-svn ci -m ""
-rename blah.ext
-svn add blah.ext
-svn ci -m ""
But i can not do this all the time when I want to commit
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当您执行此操作时,您只是将工作目录复制到新计算机还是检查了整个结构?
如果这种情况经常发生,我会收集您在此工作副本上所做的任何工作的差异,保留它,删除工作副本,重新检查它,应用您的差异补丁,然后看看您当时的表现。
When you did this did you just copy your working directory over to the new machine or did you check the entire structure out?
If this is happening regularly, I would gather a diff of any work you have on this working copy, preserve it, obliterate the working copy, check it out anew, apply the patch of your diff and see how you're doing then.