[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: Mark Benedetto King <mbk_at_lowlatency.com>
Date: 2004-05-13 02:24:48 CEST

On Wed, May 12, 2004 at 04:38:25PM +0200, SteveKing wrote:
> Hi,
>
> 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.

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 13 02:25:12 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.