diff mercurial/configitems.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 1c9128b735cd
children 5cf98daad7b1
line wrap: on
line diff
--- 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,
 )