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

Re: Stage 1 of true rename support.

From: Martin Furter <mf_at_rola.ch>
Date: 2005-05-21 04:16:12 CEST

On Fri, 20 May 2005 kfogel@collab.net wrote:

> 2. Support true renames from working copy commits. This means that
> when you do 'svn rename foo bar' in a working copy, foo's entry
> knows this it is a rename source and knows the dest, and bar's
> entry knows it is a rename dest and knows the source.
>
> If you try to commit just one side of a rename, the client
> library will error articulately, telling you that you must
> commit either all or none of a rename, and pointing you to the
> other side. I think this is appropriate, because by running
> 'svn rename' (or the GUI equivalent), the user has expressed
> their intention that this is all one operation. The client
> library should protect the user from contradicting themselves
> later.

Why specify both names?

As you said the client knows the other side of the rename, so it could
automatically add it to the commit.

But, wait, it's one operation, so there aren't really two 'sides' ;)

What i really want to say is: I'm a lazy guy and filename completion on
the commandline works for the new name only, so i'd like to specify only
one of those two names to commit the rename.

Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 21 04:18:45 2005

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