py3: use stringutil.pprint() to print boolean values
Differential Revision: https://phab.mercurial-scm.org/D4675
--- a/hgext/fastannotate/context.py Thu Sep 20 18:34:38 2018 +0300
+++ b/hgext/fastannotate/context.py Thu Sep 20 18:35:24 2018 +0300
@@ -299,7 +299,9 @@
if self.ui.debugflag:
self.ui.debug('fastannotate: %s: using fast path '
'(resolved fctx: %s)\n'
- % (self.path, util.safehasattr(revfctx, 'node')))
+ % (self.path,
+ stringutil.pprint(util.safehasattr(revfctx,
+ 'node'))))
return self.annotatedirectly(revfctx, showpath, showlines)
# resolve master