~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/groupcompress.py

  • Committer: Parth Malwankar
  • Date: 2010-05-12 12:29:27 UTC
  • mto: This revision was merged to the branch mainline in revision 5241.
  • Revision ID: parth.malwankar@gmail.com-20100512122927-0efgsiroths8zjo1
improved estimation overshoot handling.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1661
1661
            if record_counter.max > 0:
1662
1662
                if counter == 51:
1663
1663
                    if record_counter.current > record_counter.max:
1664
 
                        record_counter.max += int(record_counter.key_count / 2)
 
1664
                        record_counter.max += record_counter.key_count
1665
1665
                    pb.update('', record_counter.current, record_counter.max)
1666
1666
                    record_counter.current += counter
1667
1667
                    counter = 0