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

Re: svn switch to move between servers

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-09-18 00:01:50 CEST

On Tue, Sep 17, 2002 at 04:16:21PM -0500, Karl Fogel wrote:
> Justin Erenkrantz <jerenkrantz@apache.org> writes:
> > On Tue, Sep 17, 2002 at 12:34:48PM -0500, Karl Fogel wrote:
> > > Swapping in new URLs that are supposed to refer to the exact same
> > > things (because the way you refer to the server name has changed or
> > > something like that) is *totally* unrelated to the 'svn switch'
> > > command, and imho should not be conflated with it in the interface.
> >
> > Okay, then what is the preferred interface when you know just
> > the server name has changed? Or, do we need a new command for
> > this? -- justin
>
> We need a new command for this, I think.
>
> (Want to file the issue?)

IMO, we don't need a new command, and we don't need an issue.

If only the server name has changed, then 'svn switch' will get your URLs
changed without trouble. That is because it will see that your original
repository and the "new" one (via the new URL) are exactly the same.

(of course, you'll also implicity perform an "update" to HEAD or whatever
 rev you specify)

If somebody absolutely needs just a tool to whack the URLs without any other
change, then it might be possible to use the WC interfaces, the SWIG
bindings, and just write a script to do the work.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 18 00:02:09 2002

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