Deploying with Capistrano & Subversion. Working copy locked
Posted
by
Rimian
on Stack Overflow
See other posts from Stack Overflow
or by Rimian
Published on 2009-10-05T06:34:29Z
Indexed on
2010/12/22
3:54 UTC
Read the original article
Hit count: 264
I'm deploying to a Debian server with Capistrano which fails due to locked a working copy. I narrowed it down to this:
svn checkout http://myrepo.net/mysite/tags/1.0 /var/www/mysite/releases/1234
So if I run:
cap invoke COMMAND='svn checkout http://myrepo.net/mysite/tags/1.0 /var/www/mysite/releases/1234'
I get an error:
svn: Working copy '/var/www/mysite/releases/1' locked
Clean up makes no difference. The same command runs fine from the server. When I list the files in 1234/ I can see all the .svn and working copy files.
Can someone please point me in the right direction to resolve this? How do I tell if the working copy is really locked? svn status shows nothing...
© Stack Overflow or respective owner