##// 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 coreconfigitem('progress', 'estimateinterval',
591 coreconfigitem('progress', 'estimateinterval',
592 default=60.0,
592 default=60.0,
593 )
593 )
594 coreconfigitem('progress', 'format',
595 default=lambda: ['topic', 'bar', 'number', 'estimate'],
596 )
594 coreconfigitem('progress', 'refresh',
597 coreconfigitem('progress', 'refresh',
595 default=0.1,
598 default=0.1,
596 )
599 )
@@ -101,9 +101,7 b' class progbar(object):'
101 self.changedelay = max(3 * self.refresh,
101 self.changedelay = max(3 * self.refresh,
102 float(self.ui.config(
102 float(self.ui.config(
103 'progress', 'changedelay')))
103 'progress', 'changedelay')))
104 self.order = self.ui.configlist(
104 self.order = self.ui.configlist('progress', 'format')
105 'progress', 'format',
106 default=['topic', 'bar', 'number', 'estimate'])
107 self.estimateinterval = self.ui.configwith(
105 self.estimateinterval = self.ui.configwith(
108 float, 'progress', 'estimateinterval')
106 float, 'progress', 'estimateinterval')
109
107
General Comments 0
You need to be logged in to leave comments. Login now