--- a/mercurial/configitems.py Wed Oct 11 22:51:23 2017 +0200
+++ b/mercurial/configitems.py Wed Oct 11 22:53:17 2017 +0200
@@ -591,6 +591,9 @@
coreconfigitem('progress', 'estimateinterval',
default=60.0,
)
+coreconfigitem('progress', 'format',
+ default=lambda: ['topic', 'bar', 'number', 'estimate'],
+)
coreconfigitem('progress', 'refresh',
default=0.1,
)
--- a/mercurial/progress.py Wed Oct 11 22:51:23 2017 +0200
+++ b/mercurial/progress.py Wed Oct 11 22:53:17 2017 +0200
@@ -101,9 +101,7 @@
self.changedelay = max(3 * self.refresh,
float(self.ui.config(
'progress', 'changedelay')))
- self.order = self.ui.configlist(
- 'progress', 'format',
- default=['topic', 'bar', 'number', 'estimate'])
+ self.order = self.ui.configlist('progress', 'format')
self.estimateinterval = self.ui.configwith(
float, 'progress', 'estimateinterval')