changeset 39744:ce4c29705983

py3: use stringutil.pprint() to print boolean values Differential Revision: https://phab.mercurial-scm.org/D4675
author Pulkit Goyal <pulkit@yandex-team.ru>
date Thu, 20 Sep 2018 18:35:24 +0300
parents a2bb0ec3b4d4
children 56cb053a71ed
files hgext/fastannotate/context.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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