changeset 25847:56674fd6dabc

progress: mark experimental option
author Matt Mackall <mpm@selenic.com>
date Thu, 25 Jun 2015 17:56:54 -0500
parents c55eac3f388d
children 0ae07173881d
files mercurial/progress.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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