author | Matt Mackall <mpm@selenic.com> |
Thu, 25 Jun 2015 17:56:54 -0500 | |
changeset 25847 | 56674fd6dabc |
parent 25846 | c55eac3f388d |
child 25848 | 0ae07173881d |
--- a/mercurial/progress.py Thu Jun 25 17:56:26 2015 -0500 +++ b/mercurial/progress.py Thu Jun 25 17:56:54 2015 -0500 @@ -187,6 +187,7 @@ delta = pos - initialpos if delta > 0: elapsed = now - self.starttimes[topic] + # experimental config: progress.estimate if elapsed > float( self.ui.config('progress', 'estimate', default=2)): seconds = (elapsed * (target - delta)) // delta + 1