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

Re: relocate doesn't check arguments - may screw up working copy

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-05-13 18:01:47 CEST

On Thu, 2004-05-13 at 10:59, SteveKing wrote:

> I was wondering why the --relocate command needs two URL's. The command
> needs to be executed inside a working copy so it knows where to start -
> so why does it need a "from" URL? It could read that URL from the
> working copy - or am I completely wrong here?

Because --relocate is just running a mindless textual substitution,
something like s/X/Y/ on each URL. You need to specify X and Y.

X might be "http://" and Y might be "svn://". Or X might be
"http://oldhostname" and Y might be "http://newhostname". Or X might be
"http://host/oldreposlocation" and Y might be
"http://host/newreposlocation".

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 13 18:06:40 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.