Show More
@@ -187,6 +187,7 b' class progbar(object):' | |||||
187 | delta = pos - initialpos |
|
187 | delta = pos - initialpos | |
188 | if delta > 0: |
|
188 | if delta > 0: | |
189 | elapsed = now - self.starttimes[topic] |
|
189 | elapsed = now - self.starttimes[topic] | |
|
190 | # experimental config: progress.estimate | |||
190 | if elapsed > float( |
|
191 | if elapsed > float( | |
191 | self.ui.config('progress', 'estimate', default=2)): |
|
192 | self.ui.config('progress', 'estimate', default=2)): | |
192 | seconds = (elapsed * (target - delta)) // delta + 1 |
|
193 | seconds = (elapsed * (target - delta)) // delta + 1 |
General Comments 0
You need to be logged in to leave comments.
Login now