为什么我不断收到“SVN:工作副本 XXXX 锁定;尝试执行“清理"?
如果您之前在 Eclipse 中使用过 SVN 工具(Subversion,subversive),那么您可能熟悉工作副本 'XXX' 锁定..."错误.
If you have worked with SVN tools in Eclipse (Subversion, subversive) before, then you are likely familiar with the 'working copy 'XXX' locked..." error.
我发现了一篇非常有用的帖子,其中包含解决此问题的方法:工作副本 XXX 在 SVN 中被锁定并且清理失败
I found a very useful post with a workaround for this problem at: Working copy XXX locked and cleanup failed in SVN
尽管解决方法很好,但一遍又一遍地做这件事很痛苦.有谁知道我为什么不断收到此错误以及我可以采取哪些措施来防止它?
As great as the workaround is, it is a pain to do it over and over again. Does anyone know why I keep getting this error and what steps I could take to prevent it?
上下文:我正在创建一个涉及监听 SVN 事件的 Eclipse 插件,所以在测试这个插件时,我不断地打开和关闭工作区.每次打开工作区时,我通常会进行 1 或 2 次提交.每隔一段时间,提交就会失败,我会收到工作副本锁定"错误.我希望不再发生此错误,因此感谢您提供任何建议.
Context: I am creating an Eclipse plugin that involves listening for SVN events, so in testing this plugin, I am constantly opening and closing the workspace. I usually do 1 or 2 commits each time I open the workspace. Every so often the commit will fail and I get the 'working copy locked' error. I would love for this error to not happen anymore, so any advice is appreciated.
谢谢!
推荐答案
- 选择项目
- 右击选中的项目
- 团队 -> 清理
问题解决了.
注意:以上步骤仅适用于 Eclipse(Indigo 包)
Note: The Above steps will work only Eclipse(Indigo package)
相关文章