1002
1005
xml = self.working_tree().read_basis_inventory(revision_id)
1003
1006
inv = bzrlib.xml5.serializer_v5.read_inventory_from_string(xml)
1004
1007
return RevisionTree(self.weave_store, inv, revision_id)
1008
except (IndexError, NoSuchFile, NoWorkingTree), e:
1006
1009
return self.revision_tree(self.last_revision())