【问题标题】:SVN code cleanup issueSVN 代码清理问题
【发布时间】:2012-02-26 01:37:38
【问题描述】:

我正在使用 TortoiseSVN,但在执行任何操作时突然出现此错误:

svn: Working copy 'root\html_editor' locked; try performing 'cleanup'

当我执行代码清理命令时,我得到这个错误:

Error performing cleanup for 'root\html_editor': svn: Error processing command 'committed' in 'root\html_editor' svn: Error replacing text-base of 'index.php' svn: Cannot read from 'root\html_editor\.svn\tmp\text-base\index.php.tmp': root\html_editor\.svn\tmp\text-base\index.php.tmp (The system cannot find the file specified)

谁能指导我如何解决这个问题?

【问题讨论】:

    标签: svn tortoisesvn


    【解决方案1】:

    试试这个:

    a) 将受影响的子目录移出工作副本 - 将其放在其他位置,使其对 SVN 不可见

    b) cd 到工作副本的根目录

    c) 必要时进行 svn 清理

    d) svn update,它将重新创建一个干净的子目录,并具有所有正确的权限。

    e) 手动合并以前移动版本中对子目录文件的任何更改。不要复制回任何 .svn 控制区域。

    f) svn diff 验证手动合并

    g) svn commit 现在应该可以工作了,因为权限已经修复。

    【讨论】:

      【解决方案2】:

      此类问题有时会在 tortoise svn 中发生。在最坏的情况下,您可以将新副本检出到新位置并覆盖具有本地更改的文件。可能比查找特定的损坏文件更快。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2012-05-21
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2011-03-28
        相关资源
        最近更新 更多