diff mercurial/hg.py @ 40505:09a37a5d8f5d

extensions: fix up many many debug logs that use %r This gets us a bunch closer on Python 3, but I'll still have to use a ton of sad globs. A previous version of this patch tried to preserve the %r formatting, but upon review Yuya noted that special characters in extension names is very unlikely, so we can just use %s and not sweat the quoting. Differential Revision: https://phab.mercurial-scm.org/D5002
author Augie Fackler <augie@google.com>
date Fri, 12 Oct 2018 12:30:47 -0400
parents 7e3b6c4f01a2
children fb490d798be0
line wrap: on
line diff
--- a/mercurial/hg.py	Wed Oct 17 15:48:01 2018 -0700
+++ b/mercurial/hg.py	Fri Oct 12 12:30:47 2018 -0400
@@ -175,7 +175,7 @@
             if hook:
                 with util.timedcm('reposetup %r', name) as stats:
                     hook(ui, obj)
-                log('  > reposetup for %r took %s\n', name, stats)
+                log('  > reposetup for %s took %s\n', name, stats)
     log('> all reposetup took %s\n', allreposetupstats)
     if not obj.local():
         for f in wirepeersetupfuncs: