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

Re: encouraging users to switch

From: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2005-02-11 21:50:30 CET

On Feb 11, 2005, at 12:18 PM, Ben Collins-Sussman wrote:

>
> On Feb 11, 2005, at 8:30 AM, Scott Palmer wrote:
>>
>> The message "unable to replace a directory from within" *is* cryptic
>> in the context of running an update, because the user that invoked
>> 'svn update' isn't trying to move any directories.
>
> Absolutely. What the error message should say is:
>
> svn: error in update: this URL no longer exists in the repository.

I was thinking something more like

   svn: error in update: [URL-1] has been moved to [URL-2] in the
repository. Please run svn switch ...

Or even better... do the 'switch' automatically as part of the update.
Assuming it is both possible and harmless to execute the switch in the
case of a true 'move'... though I can sense bad things happening if you
weren't in the 'root' working copy folder when you executed the update.

Given a proper "move" implementation, is it possible/practical to
handle the switch automatically?

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 11 21:57:42 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.