~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/groupcompress_repo.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-04-16 10:11:51 UTC
  • mfrom: (5757.6.11 knitpackrepo-5)
  • Revision ID: pqm@pqm.ubuntu.com-20110416101151-adka24z3gayoxml7
(jelmer) Make PackRepository subclass MetaDirRepository rather than
 KnitRepository. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
606
606
    def __init__(self, *args, **kwargs):
607
607
        super(GCCHKCanonicalizingPacker, self).__init__(*args, **kwargs)
608
608
        self._data_changed = False
609
 
    
 
609
 
610
610
    def _exhaust_stream(self, source_vf, keys, message, vf_to_stream, pb_offset):
611
611
        """Create and exhaust a stream, but don't insert it.
612
 
        
 
612
 
613
613
        This is useful to get the side-effects of generating a stream.
614
614
        """
615
615
        self.pb.update('scanning %s' % (message,), pb_offset)