[MERGE] apply_inventory_delta

Aaron Bentley aaron.bentley at utoronto.ca
Tue Mar 27 14:38:15 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Arbash Meinel wrote:
> Aaron Bentley wrote:
>> IIRC, the "action" object used to control whether the operation was a
>> dry run or not.
> 
> It did. IIRC it changed because it was causing us to search around all
> the time because we had to make sure parents were added before children.

Could be.  Switching to the apply_inventory_delta approach would mean we
 wouldn't care about ordering, so long as all parents were added.

> It actually seems like it would be good to have another api like
> "iter_changes". 'smart_add' basically just needs an 'iter_unknowns', and
> do something with them.

The difference from iter_changes is that it would list unknowns
recursively?  What about ignored files?

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGCR5H0F+nu1YWqI0RAgeyAKCGelAasGX22UpuLys4i2/ZhgaIUQCeJVH0
RVmHeipS0wKCYq7LATTofww=
=aLQp
-----END PGP SIGNATURE-----



More information about the bazaar mailing list