[brisbane-core/MERGE] inventory fix & refactor

ian.clatworthy at internode.on.net ian.clatworthy at internode.on.net
Wed Mar 4 12:58:26 GMT 2009


The attached patch fixes CHKInventory._get_mutable_inventory()
and refactors CHKInventory_create_by_apply_delta() so that
an apply_delta() method can be added real soon now.

Altogether, there are currently 15 public methods on Inventory
that CHKInventory doesn't support. Adding apply_delta() will
reduce that number by one and make it easy to add others
that I need (e.g. add, __del__, rename) for fastimport to work
on formats using CHKInventories. Yes, I know that fastimport
will need tweaking to be efficent on new formats but I want
it working first.

As I'm partly offline currently and can't commit to the branch,
can I please ask the reviewer to merge this?

Thanks,
Ian C.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bbc-inventory.diff
Type: application/octet-stream
Size: 6840 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090304/bf29882b/attachment.obj 


More information about the bazaar mailing list