Working copy XXX locked and cleanup failed in SVN

前端 未结 30 2660
鱼传尺愫
鱼传尺愫 2020-11-28 17:26

I get this error when I do an svn update:

Working copy XXXXXXXX locked Please execute \"Cleanup\" command

When I

30条回答
  •  离开以前
    2020-11-28 17:30

    Look in your .svn folder, there will be a file in it called lock. Delete that file and you will be able to update. There may be more lock files in the .svn directory of each subdirectory. They will need deleting also. This could be done as a batch quite simply from the command line with e.g.

    find . -name 'lock' -exec rm -v {} \;
    

    Note that you are manually editing files in the .svn folder. They have been put there for a reason. That reason might be a mistake, but if not you could be damaging your local copy.

    SOURCE : http://www.svnforum.org/2017/viewtopic.php?p=6068

提交回复
热议问题