~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/groupcompress_repo.py

  • Committer: Parth Malwankar
  • Date: 2010-05-14 13:25:05 UTC
  • mto: This revision was merged to the branch mainline in revision 5241.
  • Revision ID: parth.malwankar@gmail.com-20100514132505-ba9rxnpooifq4o5q
code cleanup and comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1109
1109
 
1110
1110
    def get_stream(self, search):
1111
1111
        def wrap_and_count(pb, rc, stream):
 
1112
            """Yield records from stream while showing progress."""
1112
1113
            count = 0
1113
1114
            for record in stream:
1114
1115
                if count == rc.STEP: