~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/groupcompress.py

  • Committer: John Arbash Meinel
  • Date: 2009-06-04 21:09:51 UTC
  • mto: This revision was merged to the branch mainline in revision 4469.
  • Revision ID: john@arbash-meinel.com-20090604210951-5mxlt1h8p4xdh6pl
Switch the api from VF.add_text to VF._add_text and trim some extra 'features'.

Commit won't be using parent_texts or left_matching_blocks or check_content.
And for something like fast-import, it will be tuned for GC repositories anyway,
and there we don't need parent_texts anyway.

Show diffs side-by-side

added added

removed removed

Lines of Context:
992
992
                                               nostore_sha=nostore_sha))[0]
993
993
        return sha1, length, None
994
994
 
995
 
    def add_text(self, key, parents, text, parent_texts=None,
996
 
        nostore_sha=None, random_id=False,
997
 
        check_content=True):
 
995
    def _add_text(self, key, parents, text, nostore_sha=None, random_id=False):
998
996
        """See VersionedFiles.add_text()."""
999
997
        self._index._check_write_ok()
1000
998
        self._check_add(key, None, random_id, check_content=False)