D4675: py3: use stringutil.pprint() to print boolean values

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Thu Sep 20 19:42:23 UTC 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGce4c29705983: py3: use stringutil.pprint() to print boolean values (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4675?vs=11212&id=11232

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