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

Re: [PATCH] Make vanilla switch capable of changing the repository root

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: Thu, 28 Aug 2008 11:05:33 -0400

On Thu, 2008-08-28 at 09:58 +0300, Vlad Georgescu wrote:
> I guess my point was, svn switch --relocate is wrong because --relocate is not
> (and cannot be) a flag for svn_client_switch, instead it does a completely
> different thing, takes different arguments, etc. So, it seems sane to move it
> to a different subcommand.

I understand how that argument applies to the current world.

I don't understand how that implies to the new world (after your patch)
where "switch" can also do a relocate. In the new world, it would seem
like relocate could definitely be a flag for svn_client_switch. The
flag just disables the update and portion of the switch (and, as a
consequence, means the repository-relative part of the URL must be the
same for the source and destination).

Also, in the new world, I don't see why relocate needs to take different
arguments than switch. In the old world, you had to tell relocate what
the repository part of the current WC URL is, but in the new world you
only need to tell it a destination.

To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-08-28 17:37:14 CEST

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.