Locked by an invisible lock

This is not funny at all… 不好笑… 肯本都不好笑…

[code lang=”dos”]C:projectsXXX>svn update
svn: Working copy ‘cake’ locked
svn: run ‘svn cleanup’ to remove locks (type ‘svn help cleanup’ for details)

C:projectsXXX>svn cleanup
svn: Unable to lock ‘cakescriptstemplatesskelplugins’

C:projectsXXX>svn commit
svn: Working copy ‘C:projectsXXX’ locked
svn: run ‘svn cleanup’ to remove locks (type ‘svn help cleanup’ for details)

C:projectsXXX>svn cleanup
svn: Unable to lock ‘cakescriptstemplatesskelplugins’

C:projectsXXX>sudo kill svn[/code]

Sometimes, I rather not use SVN. Can’t cleanup, can’t update too. In such cases… Probably I just delete the whole directory and recheckout again:

[code lang=”dos”]C:projectsXXX>rd /s cake
cake, Are you sure (Y/N)? y

C:projectsXXX>svn cleanup

C:projectsXXX>svn update[/code]

Yeah, not the most brilliant of ideas.

2 thoughts on “Locked by an invisible lock”

Leave a Reply

Your email address will not be published. Required fields are marked *