Mercurial > public > mercurial-scm > hg
comparison mercurial/configitems.py @ 34313: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 |
comparison
equal
deleted
inserted
replaced
34312:d64c2c050b54 | 34313:f428c347d32b |
---|---|
357 default=3, | 357 default=3, |
358 ) | 358 ) |
359 coreconfigitem('progress', 'disable', | 359 coreconfigitem('progress', 'disable', |
360 default=False, | 360 default=False, |
361 ) | 361 ) |
362 coreconfigitem('progress', 'estimate', | |
363 default=2, | |
364 ) | |
365 coreconfigitem('progress', 'refresh', | 362 coreconfigitem('progress', 'refresh', |
366 default=0.1, | 363 default=0.1, |
367 ) | 364 ) |
368 coreconfigitem('progress', 'width', | 365 coreconfigitem('progress', 'width', |
369 default=dynamicdefault, | 366 default=dynamicdefault, |