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

Re: svn switch --relocate question...

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Sun, 5 Apr 2009 01:57:23 -0500

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_at_subversion.tigris.org].
Received on 2009-04-05 08:58:17 CEST

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.