247
242
old_path = None # Newly appeared here
249
244
base_tree = lookup_object(base_hexsha)
252
246
if base_tree is None or type(base_tree) is not Tree:
253
247
ie.revision = revision_id
254
invdelta.append((old_path, new_path, ie.file_id, ie))
248
invdelta.append((old_path, path, ie.file_id, ie))
255
249
texts.insert_record_stream([
256
250
ChunkedContentFactory((ie.file_id, ie.revision), (), None, [])])