D4675: py3: use stringutil.pprint() to print boolean values
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Thu Sep 20 15:50:16 UTC 2018
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D4675
AFFECTED FILES
hgext/fastannotate/context.py
CHANGE DETAILS
diff --git a/hgext/fastannotate/context.py b/hgext/fastannotate/context.py
--- a/hgext/fastannotate/context.py
+++ b/hgext/fastannotate/context.py
@@ -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
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list