408
412
ie.reference_revision = parent_entry.reference_revision
409
413
ie.revision = parent_entry.revision
410
return self._get_delta(ie, basis_inv, path), False
414
return self._get_delta(ie, basis_inv, path), False, None
411
415
ie.reference_revision = content_summary[3]
413
417
self._add_text_to_weave(ie.file_id, lines, heads, None)
415
419
raise NotImplementedError('unknown kind')
416
420
ie.revision = self._new_revision_id
417
return self._get_delta(ie, basis_inv, path), True
421
return self._get_delta(ie, basis_inv, path), True, ie.text_sha1
419
423
def _add_text_to_weave(self, file_id, new_lines, parents, nostore_sha):
420
424
# Note: as we read the content directly from the tree, we know its not