【问题标题】:SVN check sum error on commitSVN 提交时校验和错误
【发布时间】:2011-11-09 16:46:48
【问题描述】:

在我使用 ubuntu 11.04 之前,svn 一切顺利。 两周前,我切换到CentOS 6,问题出现了。

这是 svn 信息:

$ 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

错误数据:

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 ""

但是当我想提交时,我不能一直这样做

【问题讨论】:

    标签: linux svn ubuntu centos centos6


    【解决方案1】:

    当你这样做时,你只是将你的工作目录复制到新机器上还是你检查了整个结构?

    如果这种情况经常发生,我会收集你在这个工作副本上所做的任何工作的差异,保存它,删除工作副本,重新检查它,应用你的差异补丁,看看你在做什么那么。

    【讨论】:

    • 这很复杂:在开始时我复制了目录->不起作用然后我进行了结帐并尝试复制->不起作用然后我逐个文件修改->给我校验和不匹配-> 不起作用我尝试预览解决方案-> 它起作用了这已经发生了两次。在这个时候,我已经花了更多的一周没有提交。谢谢你,我会尝试这样做,我会给你结果
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-02-03
    • 2012-08-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多