[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' behavior change -- intentional?

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-08-23 22:48:55 CEST

On Tue, 23 Aug 2005, C. Michael Pilato wrote:

> Yesterday I noticed the suddenly 'svn switch --relocate' didn't work
> the same way it always has, requiring now that instead of using a
> FROM_URL and TO_URL which reflected the locations of the relocation's
> working copy target path, the FROM_URL and TO_URL must be repository
> root URLs.
>
> Did the community accept this change in behavior, and I just missed it?
>
>
This was part of my addition of repos-root to the entries files. I wanted
to let people not shoot themselves in their foot by using --relocate to
switch the path inside the repository. Karl also reacted to this change
some time ago, so I guess I'll have to do something about it. (I didn't
really understand this was a behavioural change, since I didn't think
there was any point in specifying anything beyond the repository root in
this case, but if people are accustomed to doing so, we should accept it.)

So, I thin k the check should be changed so that it only checks that the
prefix of the arguments that change are part of the repository root, but
accept a path thereafter if it is identical in both strings. As I
discussed with Karl on IRC, this shouldn't just silently error, but
instead violently generate an error instead. Agreed?

Best,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 23 22:51:02 2005

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.