mercurial/progress.py
changeset 41063 6603de284b0a
parent 38418 b34d0a6ef936
child 41143 7b80406b8271
equal deleted inserted replaced
41062:0a7f582f6f1f 41063:6603de284b0a
   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')
   107 
   109 
   108     def show(self, now, topic, pos, item, unit, total):
   110     def show(self, now, topic, pos, item, unit, total):
   109         if not shouldprint(self.ui):
   111         if not shouldprint(self.ui):
   110             return
   112             return
   111         termwidth = self.width()
   113         termwidth = self.width()