/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/groupcompress.py

  • Committer: Parth Malwankar
  • Date: 2010-05-13 09:54:03 UTC
  • mto: This revision was merged to the branch mainline in revision 5241.
  • Revision ID: parth.malwankar@gmail.com-20100513095403-0zr0oz16ievu9an2
code cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1661
1661
        for record in stream:
1662
1662
            # update progressbar only every 51 records
1663
1663
            if record_counter and record_counter.max > 0:
1664
 
                if counter == record_counter.step:
 
1664
                if counter == record_counter.STEP:
1665
1665
                    record_counter.increment(counter)
1666
1666
                    pb.update('', record_counter.current, record_counter.max)
1667
1667
                    counter = 0
1779
1779
            pb.finished()
1780
1780
        if stream_type == 'revisions':
1781
1781
            record_counter.setup(key_count,
1782
 
                record_counter.current,
1783
 
                record_counter.stream_type)
 
1782
                record_counter.current)
1784
1783
 
1785
1784
 
1786
1785
    def iter_lines_added_or_present_in_keys(self, keys, pb=None):