~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/knit.py

  • Committer: Martin Pool
  • Date: 2007-09-05 04:46:24 UTC
  • mfrom: (2795 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2798.
  • Revision ID: mbp@sourcefrog.net-20070905044624-vaf6cxrjbvu6nh7t
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
915
915
            delta = False
916
916
 
917
917
        digest = sha_strings(lines)
 
918
        text_length = sum(map(len, lines))
918
919
        options = []
919
920
        if lines:
920
921
            if lines[-1][-1] != '\n':
944
945
 
945
946
        access_memo = self._data.add_record(version_id, digest, store_lines)
946
947
        self._index.add_version(version_id, options, access_memo, parents)
947
 
        return lines
 
948
        return digest, text_length, lines
948
949
 
949
950
    def check(self, progress_bar=None):
950
951
        """See VersionedFile.check()."""