423
423
xml = self.read_basis_inventory()
424
424
inv = xml6.serializer_v6.read_inventory_from_string(xml)
425
425
if inv is not None and inv.revision_id == revision_id:
428
428
except (NoSuchFile, errors.BadInventoryFormat):
430
430
# No cached copy available, retrieve from the repository.