Mercurial > public > mercurial-scm > hg-stable
diff mercurial/help/config.txt @ 34321:a667f0ca1d5f
progress: make ETA only consider progress made in the last minute
This patch limits the estimate time interval to roughly the last minute
(configurable by `estimateinterval`) to be more practical. See the test
change for why this is better.
.. feature:: Estimated time is more accurate with non-linear progress
Differential Revision: https://phab.mercurial-scm.org/D820
author | Jun Wu <quark@fb.com> |
---|---|
date | Wed, 27 Sep 2017 15:14:59 -0700 |
parents | 9e4f82bc2b0b |
children | 23ed47a895d5 |
line wrap: on
line diff
--- a/mercurial/help/config.txt Wed Sep 27 14:30:58 2017 -0700 +++ b/mercurial/help/config.txt Wed Sep 27 15:14:59 2017 -0700 @@ -1613,6 +1613,10 @@ Minimum delay before showing a new topic. When set to less than 3 * refresh, that value will be used instead. (default: 1) +``estimateinterval`` + Maximum sampling interval in seconds for speed and estimated time + calculation. (default: 60) + ``refresh`` Time in seconds between refreshes of the progress bar. (default: 0.1)