182
177
raise errors.NotBranchError("branch %s at %s" % (name, self.repository.base))
183
178
basis_inv = self.repository.get_inventory(self.branch.lookup_foreign_revision_id(head))
184
179
store = self.repository._git.object_store
191
182
result = GitIndexInventory(basis_inv, fileid_map, self.index, store)
192
183
self._set_inventory(result, dirty=False)