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