Description: Properly pass inventories to record_entry_contents rather than the list of parent revision ids.
Origin: commit, revision id: jelmer@samba.org-20110719163953-04actftfkon1ukzx
Author: Jelmer Vernooij <jelmer@samba.org>
Last-Update: 2011-07-19
Applied-Upstream: no
X-Bzr-Revision-Id: jelmer@samba.org-20110719163953-04actftfkon1ukzx

=== modified file 'branch.py'
--- old/branch.py	2011-06-23 19:06:47 +0000
+++ new/branch.py	2011-07-19 16:39:53 +0000
@@ -467,7 +467,7 @@
             builder.record_entry_contents(root_ie, [], '', loom_tree,
                 ('directory', None, None, None))
         builder.record_entry_contents(
-            loom_ie, parents, 'loom', loom_tree,
+            loom_ie, list(self.repository.iter_inventories(parents)), 'loom', loom_tree,
             # a fake contents so that the file is determined as changed.
             ('file', 0, False, None))
         builder.finish_inventory()

