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

后端 未结 11 2149
滥情空心
滥情空心 2020-12-25 10:25

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

11条回答
  •  不知归路
    2020-12-25 11:03

    This type of problem can happen when you delete/move files around - in essence making changes to your directory structure. Subversion only checks for changes made in files already added to subversion, not changes made to the directory structure. Instead of using your OS's copy etc commands rather use svn copy etc. Please see http://svnbook.red-bean.com/en/1.7/svn.tour.cycle.html

    Further, upon committing changes svn first stores a "summary" of changes in a todo list. Upon performing the svn operations in this todo list it locks the file to prevent other changes while these svn actions are performed. If the svn action is interrupted midway, say by a crash, the file will remain locked until svn could complete the actions in the todo list. This can be "reactivated" by using the svn cleanup command. Please see http://svnbook.red-bean.com/en/1.7/svn.tour.cleanup.html

提交回复
热议问题