문제

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top