Subversion因“前一操作未完成"卡住? [英] Subversion stuck due to "previous operation has not finished"?
问题描述
如果我尝试更新我的 subversion 存储库,它会说我必须运行清理.如果我运行清理,它会说缺少文件.(我从家里的电脑上删除了今天早上未能提交的大量文件目录,但后来我从工作中提交了相同的文件集,现在我的家庭仓库已经破产了).所以,清理说:
If I try to update my subversion repo, it says I must run cleanup. If I run cleanup, it says a file is missing. (I deleted a MASSIVE directory of files that failed to commit this morning from my home pc, but then I commit the same set of files from work, and now my home repo is bust). So, cleanup says:
清理无法处理 blablabla 无法设置文件 blablabla 读写:系统找不到指定的文件.
Cleanup failed to process blablabla Can't set file blablabla read-write: The system cannot find the file specified.
如果我更新它说:
命令:更新错误:之前的操作没有完成;如果被中断,则运行清理"错误:请执行清理"命令.已完成!:
Command: Update Error: Previous operation has not finished; run 'cleanup' if it was interrupted Error: Please execute the 'Cleanup' command. Completed!:
我该如何解决这个问题?
How do I get this unstuck?
推荐答案
我也遇到过类似的情况.您是否尝试过从工作区的根目录运行清理?我知道有时从子目录(问题所在)进行的清理不起作用,而从工作区的根目录进行清理会起作用.
I've been in similar situations. Have you tried running cleanup from the root of your workspace? I know sometimes a cleanup from a child directory (where the problem lies) doesn't work, and cleanup from the root of the workspace does.
如果仍然失败,因为您已在某处删除了子目录.尝试从子目录中删除更高级别的 1 级(假设它不是根目录),然后重新尝试更新和清理.
If that still fails, since you had deleted a child dir somewhere. Try deleting 1 level higher from the child dir as well (assuming that is not the root), and re-trying update and cleanup.
如果清理尝试在任何级别都没有成功,那么不幸的是,答案是签出一个新的工作副本.
If cleanup attempts aren't succeeding at any level then the answer is unfortunately checkout a new working copy.
这篇关于Subversion因“前一操作未完成"卡住?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!