Mercurial > public > mercurial-scm > hg-stable
diff mercurial/configitems.py @ 34320:f428c347d32b
progress: remove progress.estimate config
It was introduced by 98e4d39 ("progress: add speed format" 2011-5-9) and was
intended to hide ETA information for the first few seconds.
Later 5d261fd ("progress: add a changedelay to prevent parallel topics from
flapping (issue2698)" 2011-6-23) introduced `changedelay` config which hides
the entire progress bar for the first few seconds. So `progress.estimate` seems
somehow duplicated feature-wise. Since it's experimental and duplicated, let's
just remove it. This makes the next patch simpler - it no longer needs to make
sure `starttimes` is the real start time.
Differential Revision: https://phab.mercurial-scm.org/D828
author | Jun Wu <quark@fb.com> |
---|---|
date | Wed, 27 Sep 2017 14:30:58 -0700 |
parents | 1826d695ad58 |
children | a667f0ca1d5f |
line wrap: on
line diff
--- a/mercurial/configitems.py Tue Sep 26 12:48:15 2017 -0700 +++ b/mercurial/configitems.py Wed Sep 27 14:30:58 2017 -0700 @@ -359,9 +359,6 @@ coreconfigitem('progress', 'disable', default=False, ) -coreconfigitem('progress', 'estimate', - default=2, -) coreconfigitem('progress', 'refresh', default=0.1, )