--- a/mercurial/ui.py Fri Jan 08 23:15:22 2010 +0100
+++ b/mercurial/ui.py Fri Jan 08 23:15:24 2010 +0100
@@ -380,7 +380,7 @@
if total:
pct = 100.0 * pos / total
- self.debug('%s:%s %s/%s%s (%4.2g%%)\n'
+ self.debug('%s:%s %s/%s%s (%4.2f%%)\n'
% (topic, item, pos, total, unit, pct))
else:
self.debug('%s:%s %s%s\n' % (topic, item, pos, unit))
--- a/tests/test-relink.out Fri Jan 08 23:15:22 2010 +0100
+++ b/tests/test-relink.out Fri Jan 08 23:15:24 2010 +0100
@@ -17,7 +17,7 @@
not linkable: 00manifest.i
not linkable: data/b.i
pruned down to 2 probably relinkable files
-relink: data/a.i 1/2 files ( 50%)
+relink: data/a.i 1/2 files (50.00%)
not linkable: data/dummy.i
relinked 1 files (136 bytes reclaimed)
% check hardlinks