[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Working Copy Locked

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-10-04 06:14:47 CEST

On Oct 3, 2007, at 22:29, s.ross wrote:

> I'm on a Mac (OSX 10.4.10) and normally svn purrs right along. I
> have a Rails
> project and have been maintaining a single locked-down version of
> Rails in:
>
> /project/vendor/rails
>
> I decided to use externals to point to a tagged version, so I did
> an svn rm of
> /project/vendor/rails, switched to the project home directory (/
> project) then
> svn propedit svn:externals .
>
> I put this in the property:
>
> vendor/rails http://wherever.rails.lives.com/whatever/tags/i/like/
>
> The redbean book says this oughta work. Now, if I do:
>
> svn up vendor/rails
>
> I get:
>
> Fetching external item into 'vendor/rails'
> svn: Working copy 'vendor/rails' locked
> svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for
> details)
>
> I tried the svn cleanup command and it didn't remedy the situation.
> I seem
> to recall there is an easy fix for this but can't remember the
> details.
>
> Any help is immensely appreciated.
>
> Thanks
>
> svn, version 1.3.2 (r19776)
> compiled Jun 5 2006, 13:13:11

First, update to Subversion 1.4.5.

Then, try "svn up" instead of "svn up vendor/rails"

If that doesn't work, change the property. Don't put the
svn:externals property on the root project folder, rather put it on
the vendor directory and give it the value "rails http://
wherever.rails.lives.com/whatever/tags/i/like/". If you don't have a
vendor directory yet, "svn mkdir vendor" first.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 4 06:17:05 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.