# HG changeset patch # User Augie Fackler # Date 1505756220 14400 # Node ID a254c669b47549ba9056a1a3180a918c4a4eae80 # Parent 3db2365d43e41665cbc2b9224f41cd287b8d92ba ui: fix progress debug log format strings to work on Python 3 diff -r 3db2365d43e4 -r a254c669b475 mercurial/ui.py --- a/mercurial/ui.py Mon Sep 18 13:37:32 2017 -0400 +++ b/mercurial/ui.py Mon Sep 18 13:37:00 2017 -0400 @@ -1521,10 +1521,10 @@ if total: pct = 100.0 * pos / total - self.debug('%s:%s %s/%s%s (%4.2f%%)\n' + self.debug('%s:%s %d/%d%s (%4.2f%%)\n' % (topic, item, pos, total, unit, pct)) else: - self.debug('%s:%s %s%s\n' % (topic, item, pos, unit)) + self.debug('%s:%s %d%s\n' % (topic, item, pos, unit)) def log(self, service, *msg, **opts): '''hook for logging facility extensions