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