263
261
file_id = lookup_file_id(osutils.safe_unicode(path))
266
263
tree = lookup_object(hexsha)
269
266
old_path = None # Newly appeared here
271
268
base_tree = lookup_object(base_hexsha)
274
271
if base_tree is None or type(base_tree) is not Tree:
275
272
ie.revision = revision_id
276
273
invdelta.append((old_path, new_path, ie.file_id, ie))