mercurial/progress.py
changeset 41144 7b80406b8271
parent 41066 6603de284b0a
child 43076 2372284d9457
equal deleted inserted replaced
41143:8cf92ca92bfe 41144:7b80406b8271
   102                                float(self.ui.config(
   102                                float(self.ui.config(
   103                                    'progress', 'changedelay')))
   103                                    'progress', 'changedelay')))
   104         self.order = self.ui.configlist('progress', 'format')
   104         self.order = self.ui.configlist('progress', 'format')
   105         self.estimateinterval = self.ui.configwith(
   105         self.estimateinterval = self.ui.configwith(
   106             float, 'progress', 'estimateinterval')
   106             float, 'progress', 'estimateinterval')
   107         # developer config: progress.debug
       
   108         self.debug = self.ui.configbool('progress', 'debug')
       
   109 
   107 
   110     def show(self, now, topic, pos, item, unit, total):
   108     def show(self, now, topic, pos, item, unit, total):
   111         if not shouldprint(self.ui):
   109         if not shouldprint(self.ui):
   112             return
   110             return
   113         termwidth = self.width()
   111         termwidth = self.width()