You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by bruce <be...@earthlink.net> on 2009/04/05 01:09:33 UTC

svn switch --relocate question...

Hi...

Got a question regarding the svn switch --relocate cmd along with the svn co
cmd...

i have a working copy that i created, using
 svn co svn://foo/test/svn1/a /s

this works

i then changed the master repository, and fired up the svnserver daemon,
using a port 7555

i then switched the working copy (wc) to use the new url
i did a cd /s ( to be in the working copy dir)
followed by,
svn sw --relocate svn://foo/test/svn1/a  svn://foo:7555/test/svn1/a

this appeared to work.. (no errs were generated.)

however, when i do a checkout:
svn co svn://foo:7555/test/svn1/a /s

i get an error,
 svn '/s' is already a working copy for a different URL

so.. do i have an issue with the relocate cmd...

thanks

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1547387

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: svn switch --relocate question...

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Apr 4, 2009, at 20:09, bruce wrote:

> Got a question regarding the svn switch --relocate cmd along with  
> the svn co
> cmd...
>
> i have a working copy that i created, using
>  svn co svn://foo/test/svn1/a /s
>
> this works
>
> i then changed the master repository, and fired up the svnserver  
> daemon,
> using a port 7555
>
> i then switched the working copy (wc) to use the new url
> i did a cd /s ( to be in the working copy dir)
> followed by,
> svn sw --relocate svn://foo/test/svn1/a  svn://foo:7555/test/svn1/a
>
> this appeared to work.. (no errs were generated.)

And it looks correct to me.


> however, when i do a checkout:
> svn co svn://foo:7555/test/svn1/a /s
>
> i get an error,
>  svn '/s' is already a working copy for a different URL
>
> so.. do i have an issue with the relocate cmd...

I'm a bit confused by that error message myself...

But why are you checking out a working copy to a location where you  
already have a working copy?

Does it work if you check out to a different directory?

svn co svn://foo:7555/test/svn1/a /somewhere-else

If so, and if your /s working copy works (w.r.t. svn update and svn  
commit and so on) then I'd say there is no problem.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1548906

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].