Re: Ev2 using move-away and move-here
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Wed, 14 Aug 2013 15:43:06 +0100 (BST)
Philip Martin wrote:
> Julian Foad <julianfoad_at_btopenworld.com> writes:
In what I wrote here, alter-dir(/) is before mv-away(A), and there are two calls to alter-dir(A), in steps 1 and 6, before and after mv-away(A/B). But anyway, yes, it's messed up, and your suggestion below is neater.
> A more consistent set of steps would be:
Yes, that's nicer. Yes, you can probably drop the alter-dir(/) like you have done, on the basis that the list of child names in (/) does not change even though their identities do change. That's an under-specified part of the rules.
> Not sure whether 1 and 2 have any particular order. In the working copy
Right, good.
> As you pointed out when a copy replaces a mv-away it is still necessary
Well, that depends. There may be no need to issue the alter-dir on the original 'A' at this stage, we could wait until it arrives at its final path (move-here B (id="original A"), then alter-dir B).
- Julian
|
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.