mercurial/ui.py
branchstable
changeset 10220 500d09be7ace
parent 9851 9e7b2c49d25d
child 10221 489b0caf21ed
child 10243 cd3e5c47d663
equal deleted inserted replaced
10219:3b94120864fc 10220:500d09be7ace
   378         if item:
   378         if item:
   379             item = ' ' + item
   379             item = ' ' + item
   380 
   380 
   381         if total:
   381         if total:
   382             pct = 100.0 * pos / total
   382             pct = 100.0 * pos / total
   383             self.debug('%s:%s %s/%s%s (%4.2g%%)\n'
   383             self.debug('%s:%s %s/%s%s (%4.2f%%)\n'
   384                      % (topic, item, pos, total, unit, pct))
   384                      % (topic, item, pos, total, unit, pct))
   385         else:
   385         else:
   386             self.debug('%s:%s %s%s\n' % (topic, item, pos, unit))
   386             self.debug('%s:%s %s%s\n' % (topic, item, pos, unit))