[MERGE] move smart_add_tree to MutableTree, tested on WorkingTree..
aaron.bentley at utoronto.ca
Wed Jul 4 04:49:25 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Robert Collins wrote:
> On Tue, 2007-07-03 at 23:23 -0400, Aaron Bentley wrote:
>> We're now saying that the whole concept of inventory is bust, and that
>> we'd like to make it merely an implementation detail of WorkingTree. If
>> that's so, I don't think we should be relying on this quirky inventory
> So how should --dry-run operations work - I presume we want
> to all have --dry-run eventually, which should really indicate whether
> the command will succeed or fail.
Well, for the moment, add can work the way it already does, except that
it should guarantee that after the dry-run, the WT.inventory will be
For the future, these can all generate inventory deltas, and for
dry-run, not apply them.
Revert, merge and pull can already be put through a dry run simply by
calling "TreeTransform.finalize" instead of "TreeTransform.apply"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar