[MERGE] New method ``iter_inventories`` on Repository

Robert Collins robertc at robertcollins.net
Mon Jan 7 01:29:52 GMT 2008


This moves the inventory iteration from the revision_trees() method to
an iter_inventories, and replaces get_inventory's logic with a trivial
call to iter_inventories reducing code duplication.

This is useful when implementing inventory types that cannot be
deserialised from a single document - avoiding double-round-tripping
(native -> xml -> deserialised)

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-mail-HCLOXe.patch
Type: text/x-patch
Size: 8697 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080107/50c7ba4d/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080107/50c7ba4d/attachment.pgp 


More information about the bazaar mailing list