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

Re: svn commit: r21745 - branches/fs-atomic-renames/notes

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-10-04 00:12:42 CEST

On 10/3/06, Karl Fogel <kfogel@google.com> wrote:
> "Garrett Rooney" <rooneg@electricjellyfish.net> writes:
> > That's assuming that those are intended to be sequential, I was
> > assuming that they were intended to be simultaneous (i.e. swap the
> > locations of A/B and X/Y), which we can't actually do at this point.
>
> Oh! Good point. Although if you put the classic tmp var in the
> middle, would it work?
>
> mv A/B TMP
> mv X/Y A/B
> mv TMP X/Y
>
> If that all happens in one txn, would there be any record of TMP ever
> existing? Would X/Y's history simply say it came from "A/B"@PREV_REV ?

I don't think you can rename something that's already been renamed, at
least not in the current implementation.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 4 00:12:56 2006

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