70
70
assert inv.revision_id is None or inv.revision_id == revid, \
71
71
"Mismatch between inventory revision" \
72
72
" id and insertion revid (%r, %r)" % (inv.revision_id, revid)
73
74
inv_text = xml5.serializer_v5.write_inventory_to_string(inv)
74
75
inv_sha1 = osutils.sha_string(inv_text)
75
76
inv_vf = self.control_weaves.get_weave('inventory',