Show More
@@ -358,7 +358,7 b' class ui(object):' | |||
|
358 | 358 | visible. 'topic' is the current operation, 'item' is a |
|
359 | 359 | non-numeric marker of the current position (ie the currently |
|
360 | 360 | in-process file), 'pos' is the current numeric position (ie |
|
361 |
revision, bytes, etc.), unit |
|
|
361 | revision, bytes, etc.), unit is a corresponding unit label, | |
|
362 | 362 | and total is the highest expected pos. |
|
363 | 363 | |
|
364 | 364 | Multiple nested topics may be active at a time. All topics |
@@ -368,14 +368,14 b' class ui(object):' | |||
|
368 | 368 | if pos == None or not self.debugflag: |
|
369 | 369 | return |
|
370 | 370 | |
|
371 |
if unit |
|
|
372 |
unit |
|
|
371 | if unit: | |
|
372 | unit = ' ' + unit | |
|
373 | 373 | if item: |
|
374 | 374 | item = ' ' + item |
|
375 | 375 | |
|
376 | 376 | if total: |
|
377 | 377 | pct = 100.0 * pos / total |
|
378 | 378 | ui.debug('%s:%s %s/%s%s (%4.2g%%)\n' |
|
379 |
% (topic, item, pos, total, unit |
|
|
379 | % (topic, item, pos, total, unit, pct)) | |
|
380 | 380 | else: |
|
381 |
ui.debug('%s:%s %s%s\n' % (topic, item, pos, unit |
|
|
381 | ui.debug('%s:%s %s%s\n' % (topic, item, pos, unit)) |
General Comments 0
You need to be logged in to leave comments.
Login now