# Newbie-ish Capistrano/SVN Problem

**URL:** <https://www.ruby-forum.com/t/newbie-ish-capistrano-svn-problem/90400>\
**Category:** Rails\
**Created:** [March 28, 2007, 1:45pm UTC](https://www.ruby-forum.com/t/newbie-ish-capistrano-svn-problem/90400 "2007-03-28T13:45:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan\_Van\_Schoic](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/779978/32.png) [@Jonathan\_Van\_Schoic](https://www.ruby-forum.com/u/Jonathan_Van_Schoic)\
**Post date:** [March 28, 2007, 1:45pm UTC](https://www.ruby-forum.com/t/newbie-ish-capistrano-svn-problem/90400/1 "2007-03-28T13:45:13Z")

</div>

Hey guys,

I’m setting up my first Capistrano script and I’m running into an SVN  
error I hadn’t seen before…

I’m using the default deploy.rb (except for changing some variable  
values, of course). My first deploy went fine and the /current/  
directory has everything as I expected on the target server. But,  
when I went to deploy the second time, I’m getting an SVN error.

Cap output (some person detail removed to protect the innocent):

svn: Working copy ‘[[path\_to\_app\_omitted]]/releases/20070326013138’  
locked  
\*\* [out :: [[server\_name\_omitted]]] svn: run ‘svn cleanup’ to  
remove locks (type ‘svn help cleanup’ for details)  
command finished  
\*\*\* [update\_code] transaction: rollback

- [update\_code] rolling back
- executing “rm -rf /[[path\_to\_app\_omitted]]/releases/20070326013138”

I ran svn status on my working copy and there’s no locks. I ran svn  
cleanup anyway, and it comes back with no output.

Anyone run into this before? Any common stuff I should be checking out?

Any thoughts/advice are appreciated…

Thanks,  
Jonathan
