mercurial/ui.py
changeset 9749 1b1b33ae5a24
parent 9613 c63c336ee2f7
child 9786 951730b2b8ba
equal deleted inserted replaced
9748:67e5d5a2f625 9749:1b1b33ae5a24
   375         if item:
   375         if item:
   376             item = ' ' + item
   376             item = ' ' + item
   377 
   377 
   378         if total:
   378         if total:
   379             pct = 100.0 * pos / total
   379             pct = 100.0 * pos / total
   380             ui.debug('%s:%s %s/%s%s (%4.2g%%)\n'
   380             self.debug('%s:%s %s/%s%s (%4.2g%%)\n'
   381                      % (topic, item, pos, total, unit, pct))
   381                      % (topic, item, pos, total, unit, pct))
   382         else:
   382         else:
   383             ui.debug('%s:%s %s%s\n' % (topic, item, pos, unit))
   383             self.debug('%s:%s %s%s\n' % (topic, item, pos, unit))