如何递归释放Subversion中的锁? [英] How can I release locks in Subversion recursively?
本文介绍了如何递归释放Subversion中的锁?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Subversion中的版本控制有问题.我从存储库中签出了一个工作副本,并对其所有文件进行了锁定.然后,在不释放锁的情况下,我从磁盘上删除了该文件夹.
I am having a problem with version control in Subversion. I checked out a working copy from respository and got locks on all of its files. Then, without releasing the locks I have deleted the folder from disk.
- 我无法从存储库中删除该文件夹,因为该文件夹已锁定
- 如果I尝试递归释放锁,则表示没有锁可以释放.
- 在浏览存储库"视图中,我只能打破特定的锁定,而不能递归破坏文件夹.
如何破解存储库中的锁?我在Windows上使用TortoiseSVN. 是否有命令以递归方式破坏文件夹的锁?
How can I break the locks residing in repository? I am using TortoiseSVN on Windows. Is there a command to break locks recursively for a folder?
推荐答案
好的,我明白了.这是对我有用的东西.
Ok I got it. Here's what worked for me.
- 签出一个 工作副本
- 然后进入Windows资源管理器菜单, TortoiseSVN->检查 修改...
- 单击检查存储库"按钮
- 选择所有文件,右键单击并 选择中断锁定选项
- 删除工作副本和一个 在存储库中.瞧! :)
- Check out a working copy
- Then go in Windows explorer menu, TortoiseSVN -> Check for modifications...
- Click on Check repository button
- Select All the files, right click and select the break lock option
- Delete the working copy and the one in repository. Voila! :)
这篇关于如何递归释放Subversion中的锁?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文