##// END OF EJS Templates
configitems: register the 'progress.format' config
Boris Feld -
r34747:54fa3db5 default
parent child Browse files
Show More
@@ -591,6 +591,9 b" coreconfigitem('progress', 'disable',"
591 591 coreconfigitem('progress', 'estimateinterval',
592 592 default=60.0,
593 593 )
594 coreconfigitem('progress', 'format',
595 default=lambda: ['topic', 'bar', 'number', 'estimate'],
596 )
594 597 coreconfigitem('progress', 'refresh',
595 598 default=0.1,
596 599 )
@@ -101,9 +101,7 b' class progbar(object):'
101 101 self.changedelay = max(3 * self.refresh,
102 102 float(self.ui.config(
103 103 'progress', 'changedelay')))
104 self.order = self.ui.configlist(
105 'progress', 'format',
106 default=['topic', 'bar', 'number', 'estimate'])
104 self.order = self.ui.configlist('progress', 'format')
107 105 self.estimateinterval = self.ui.configwith(
108 106 float, 'progress', 'estimateinterval')
109 107
General Comments 0
You need to be logged in to leave comments. Login now