[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 19:12:48 CEST

Ben Collins-Sussman wrote:

>>So my suggestion is that the relocate only takes one argument (the "to"
>>URL).
>
> We're going in circles here. If you ask perl to 's/X/Y/', but only give
> Y, how is it supposed to guess at X?

Ok, I'm obviously not very good at making myself clear. So I'll try to
explain with some pseudo-code:

right now, the relocate command does something like this:
fromURL = userinput1;
toURL = userinput2;
svn_client_relocate(currentdirectory, fromURL, toURL);

what I suggest is this:

wcURL = svn_client_url_from_path(currentdirectory);
fromURL = wcURL;
toURL = userinput;
svn_client_relocate(currentdirectory, fromURL, toURL);

I hope this describes more clear of what I have in mind.

Stefan

--
Save water. Shower with your girlfriend.
--
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 13 19:14:53 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.