1038
1038
revision_id = self.revision_history()[-1]
1039
1039
xml = self.working_tree().read_basis_inventory(revision_id)
1040
1040
inv = bzrlib.xml5.serializer_v5.read_inventory_from_string(xml)
1042
1042
except (IndexError, NoSuchFile, NoWorkingTree), e:
1043
1043
return self.revision_tree(self.last_revision())