~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/store/revision/knit.py

(mbp) merge bzr.dev to 0.8, prepare for release

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
        self.get_revision_file(transaction).add_lines_with_ghosts(
66
66
            revision.revision_id,
67
67
            revision.parent_ids,
68
 
            revision_as_file.readlines())
 
68
            bzrlib.osutils.split_lines(revision_as_file.read()))
69
69
 
70
70
    def add_revision_signature_text(self, revision_id, signature_text, transaction):
71
71
        """See RevisionStore.add_revision_signature_text()."""
121
121
 
122
122
    def total_size(self, transaction):
123
123
        """ See RevisionStore.total_size()."""
124
 
        return self.versioned_file_store.total_size()
 
124
        return (len(self.all_revision_ids(transaction)), 
 
125
            self.versioned_file_store.total_size()[1])