mercurial/ui.py
changeset 10221 489b0caf21ed
parent 10077 89617aacb495
parent 10220 500d09be7ace
child 10244 c4c0502be198
equal deleted inserted replaced
10216:843f6ee6d14b 10221:489b0caf21ed
   387         if item:
   387         if item:
   388             item = ' ' + item
   388             item = ' ' + item
   389 
   389 
   390         if total:
   390         if total:
   391             pct = 100.0 * pos / total
   391             pct = 100.0 * pos / total
   392             self.debug('%s:%s %s/%s%s (%4.2g%%)\n'
   392             self.debug('%s:%s %s/%s%s (%4.2f%%)\n'
   393                      % (topic, item, pos, total, unit, pct))
   393                      % (topic, item, pos, total, unit, pct))
   394         else:
   394         else:
   395             self.debug('%s:%s %s%s\n' % (topic, item, pos, unit))
   395             self.debug('%s:%s %s%s\n' % (topic, item, pos, unit))