1570
1570
entries = inv.iter_entries()
1573
assert getattr(ie, 'revision', None) != None, \
1573
assert getattr(ie, 'revision', None) is not None, \
1574
1574
'no revision on {%s} in {%s}' % \
1575
1575
(file_id, rev.revision_id)
1576
1576
new_inv_xml = bzrlib.xml5.serializer_v5.write_inventory_to_string(inv)