419
419
def _add_lines(self, version_id, parents, lines, parent_texts,
420
420
left_matching_blocks=None):
421
421
"""See VersionedFile.add_lines."""
422
return self._add(version_id, lines, map(self._lookup, parents))
422
idx = self._add(version_id, lines, map(self._lookup, parents))
423
return sha_strings(lines), sum(map(len, lines)), idx
424
425
def _add(self, version_id, lines, parents, sha1=None):
425
426
"""Add a single text on top of the weave.