Re: Move tracking and NODES.moved_to/moved_here
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Wed, 7 Dec 2011 15:07:43 +0000 (GMT)
Philip Martin wrote:
OK. I was a bit confused after Bert said "I don't know how you want to record in the repository that a node is new (added) and moved to a different place in a single revision?" and you responded with talking about a copy that is moved. But the main issue is that the repository is irrelevant to this thread, so never mind me.
>> I think it would help clarity if we took a lead from Greg in reserving
I'm with you on this: yes it should be recorded in the WC and no not half-committable.
> Whether we eventually store it in the
I'm with you in principle on what you're trying to say here, I think: if and when we have the ability to interpret incoming 'moves' in this way, then the second merge should be recording in the WC that X/Y has been locally moved to X/Z.
However, I first read your example as meaning there are three successive sync merges from the same source, and in that case the third merge wouldn't need to know about the move because the incoming change would already be talking about path X/Z.
The example works better if the second step is a manual conflict resolution and the third step is a merge where the incoming change is an edit to path X/Y.
> Now consider a further merge, it will produce a tree conflict it it
Precisely -- agreed.
> (If the Y->Z move was the result of a merge by a move-aware merge then
Sounds a bit like what I was saying.
- 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.