diff mercurial/progress.py @ 34746:54fa3db5becf

configitems: register the 'progress.format' config
author Boris Feld <boris.feld@octobus.net>
date Wed, 11 Oct 2017 22:53:17 +0200
parents a57c938e7ac8
children d541042f32f6
line wrap: on
line diff
--- 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')