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.
So do I.
* 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.
As I wrote earlier,
probably the fallback behavior is to use the pathname, so maybe it's not a big deal
In the second case, you won't be able to move the root directory elsewhere, and still have new root adds appear in that directory. They'll always appear in the root.
So there are still some cases not covered.
Aaron -- Aaron Bentley Director of Technology Panometrics, Inc.
_______________________________________________ Gnu-arch-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnu-arch-users
GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/
