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

Re: svn switch brainos?

From: Robert Spier <rspier_at_pobox.com>
Date: 2003-08-03 06:34:03 CEST

> > $ svn switch --relocate http://svnhost/combust/backend/trunk \
> > http://svnhost/combust/trunk/ .
>
>
> Why on earth are you using the --relocate switch? The point of that
> switch is for rewriting urls when you switch schemas or hostnames.

But.. it seemed to make sense at the time :)

Would you want a patch adding a error message if
    oldschema == newschema and oldhost == newhost ?

(although that doesn't get the other case of changing from one
repository to another on the same host -- which is non-trivial to
figure out from only parsing the URL)

> But in your case, you don't need that at all. A simple
> svn switch http://svnhost/combust/trunk
> would have 'updated' your working copy to the new repository location
> with no problems at all.

Doh.

Thanks!

-R

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Aug 3 06:34:51 2003

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