[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: SteveKing <steveking_at_gmx.ch>
Date: 2004-05-13 17:59:43 CEST

Mark Benedetto King wrote:
>>while checking some bug reports with the relocate command in TSVN I came
>>across a feature in the command line client:
>>
>>svn switch --relocate . http://newserver.com/
>>
>>this will finish without any error (as long as newserver.com is alive),
>>but check now the .svn/entries file and see what URL is stored in there!
>>
>>I think the command line client should check if the "source" URL is
>>actually an URL - or better yet find the URL from the working copy path.
>>
>>Stefan
>>
>
>
> Right now, relocate just checks that the UUIDs of the repositories are
> the same. What it should do is verify that the path component of
> the URL (entry->url + strlen(ra->get_repos_root()) remains unchanged.

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?

Stefan

--
I feel like I'm diagonally parked in a parallel universe
--
---------------------------------------------------------------------
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:01:35 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.