最近在做项目时,不知做了什么操作,Commit是总是报错,报错信息如下:
working copy *** locked,
please execute the cleanup command.
然后,我又到相应的文件夹下进行Cleanup操作,还是报错,报错信息如下:
subversion reported an error while doing a cleanup,
Unable to lock ***, please execute the cleanup command.
在网上查了N久,也没有查到理想的解决方案和该问题产生的原因。不过,好歹这个问题最后解决了,参见
http://stackoverflow.com/questions/127932/svn-working-copy-xxx-locked-and-cleanup-failed
大概步骤如下:
- Copy edited items to another location.
- Delete the folder containing the problem path.
- Update the containing folder through Subversion.
- Copy your files back.
- Commit
比较简单,就不翻译了