You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jonatan Lander <jo...@wineasy.se> on 2004/11/10 13:19:21 UTC

switch --relocate problems

I'm having some problems with 'svn switch --relocate':

   [pb:path/to/old-wc] jonatan% svn --version -q
   1.1.1

   [pb:path/to/old-wc] jonatan% svn switch --relocate \
     'https://old-host' 'svn+ssh://new-host/home'
   subversion/libsvn_wc/lock.c:646: (apr_err=155005)
   svn: Working copy 'path-in-repos/to/deleted' not locked

That directory has been removed since this old wc was last used, and
probably after switching servers. I thought I might get it to work with
a '-rBASE' switch, but that didn't help:

   [pb:path/to/old-wc] jonatan% svn switch --relocate -rBASE \
     'https://old-host' 'svn+ssh://new-host/home'
   subversion/libsvn_wc/lock.c:646: (apr_err=155005)
   svn: Working copy 'path-in-repos/to/deleted' not locked

How do I relocate this wc?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: switch --relocate problems

Posted by Jonatan Lander <jo...@wineasy.se>.
On 2004-11-10, at 20:19, JM Ibanez wrote:
>> That directory has been removed since this old wc was last used, and
>> probably after switching servers. I thought I might get it to work
>> with
>
> Hmm, can't you do a 'svn update' with the old URL, then switch? (Just
> curious)

No, because the old URL no longer exists. That's why I'm doing the
relocation in the first place.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: switch --relocate problems

Posted by JM Ibanez <jm...@gmail.com>.
On Wed, 10 Nov 2004 14:19:21 +0100, Jonatan Lander <jo...@wineasy.se> wrote:
> That directory has been removed since this old wc was last used, and
> probably after switching servers. I thought I might get it to work with

Hmm, can't you do a 'svn update' with the old URL, then switch? (Just curious)

-- 
JM Ibanez
   - A million monkeys can't go wrong...
http://www.livejournal.com/~jmibanez/
http://www.mycgiserver.com/~butiki/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org