SVN代码清理问题 [英] SVN code cleanup issue

查看:33
本文介绍了SVN代码清理问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I am using TortoiseSVN and all of the sudden I get this error when doing anything:

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

当我执行代码清理命令时,我收到此错误:

When I peform code cleanup command, I get this error:

<代码>对root\html_editor"执行清理时出错:svn:在root\html_editor"中处理命令提交"时出错svn:替换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 (系统找不到指定文件)

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

Can anyone guide me how to resolve this issue?

推荐答案

试试这个:

a) 将受影响的子目录移出工作副本——把它放在其他地方,这样它就对 SVN 不可见

a) Move the affected subdirectory out of the working copy -- put it somewhere else so it becomes invisible to SVN

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

b) cd to the root of the working copy

c) 根据需要进行 svn 清理

c) svn cleanup as necessary

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

d) svn update, which will recreate a clean subdirectory, with all the correct permissions.

e) 从先前移动的版本手动合并对子目录文件的任何更改.请勿复制回任何 .svn 控制区域.

e) Manually merge any changes to the subdirectory's files from the previously moved version. Do NOT copy back in any of the .svn control area.

f) svn diff 验证手动合并

f) svn diff to verify the manual merge

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

g) svn commit should now work, since the permissions have been fixed.

这篇关于SVN代码清理问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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