451
451
raise AssertionError("unknown entry kind '%s'" % entry.kind)
452
452
tree = directory_to_tree(inv[fileid], get_ie_sha1, unusual_modes,
453
453
self.mapping.BZR_DUMMY_FILE)
455
456
b = self._create_fileid_map_blob(inv)
456
457
# If this is the root tree, add the file ids
457
458
tree[self.mapping.BZR_FILE_IDS_FILE] = ((stat.S_IFREG | 0644), b.id)