/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/progress.py

  • Committer: Robert Collins
  • Date: 2006-02-25 00:49:18 UTC
  • mto: (1587.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 1588.
  • Revision ID: robertc@robertcollins.net-20060225004918-13fe7b4b532c606c
Do not throttle updates to progress bars that change the message.

Show diffs side-by-side

added added

removed removed

Lines of Context:
195
195
            
196
196
        if current_cnt > total_cnt:
197
197
            total_cnt = current_cnt
198
 
 
 
198
        
 
199
        old_msg = self.last_msg
199
200
        # save these for the tick() function
200
201
        self.last_msg = msg
201
202
        self.last_cnt = current_cnt
202
203
        self.last_total = total_cnt
203
204
            
204
 
        if self.throttle():
 
205
        if old_msg == self.last_msg and self.throttle():
205
206
            return 
206
207
        
207
208
        if self.show_eta and self.start_time and total_cnt: