[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: Daniel Patterson <danpat_at_danpat.net>
Date: 2005-05-21 06:02:36 CEST

kfogel@collab.net wrote:
> 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.

   Just a note (and I'm not sure how helpful) on how Clearcase handles
   this operation. For Clearcase, the rename of a file bumps
   the version number of the containing directory, but not of the
   item being renamed itself. This avoids the issue of having to
   commit a change to the file itself (and the confusion about which
   side the commit should happen to).

   However, it makes it somewhat difficult to calculate what name a
   particular revision of a file had at any point in time, as the change
   of name is not a part of the files history, but only of its containing
   directory.

daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 21 06:08:32 2005

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.