I'm using SVN in Ubuntu. When I was trying to change IP on of repository, my computer accidentally shut down. Now I'm unable to change IP with command svn switch --relocate <old repository> <new repository>
. When I'm trying to do it, I'm always getting error that says:
svn: Working copy '.' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
I've tried suggested command svn cleanup
, but nothing happens for a long time.
Is the unique way to solve this problem is to clone repository again?
Try
svn unlock --force TARGET
or
svnadmin rmlocks TARGET
Where target may be the repo url or the working copy.