On Tue, 2005-04-05 at 07:47 -0400, Aaron Bentley wrote:
David Allouche wrote:
In an aggregation tree, when merging a file addition at the root of a
component tree, should the file be added at the root of the aggregation
tree or the root of the aggregated tree?
You say it should be merged at the root of the aggregation.
I say both.
* If the root of the aggregated tree is present in the
aggregation, the file addition should be merged there.
* If the root of the aggregated tree is NOT present in the
aggregation, the file addition should be merged at the root of
the aggregation.
I think the later is actually a corner case of proper rename-aware
inexact patching.
You can only give that choice if the component trees have root id.
Setting a root id in init-tree is an enabler, and it does not preclude
your use case.