Why do I keep getting 'SVN: Working Copy XXXX locked; try performing 'cleanup'?

来源:互联网 发布:吃鸡要加装什么软件吗 编辑:程序博客网 时间:2024/06/01 10:46

If you have worked with SVN tools in Eclipse (Subversion, subversive) before, then you are likely familiar with the 'working copy 'XXX' locked..." error.

I found a very useful post with a workaround for this problem at: SVN Working Copy xxx locked and cleanup failed

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?

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.

解决方法:


  1. Select the project
  2. Right click on the selected Project
  3. Team -> Cleanup

Problem Solved.

Note: The Above steps will work only Eclipse(Indigo package)


0 0
原创粉丝点击