diff mercurial/debugcommands.py @ 43238:101ae8bbfa02

cleanup: hgdemandimport.tracing accepts strings, not bytes This does mean that the resulting traces will have some b'' goo in them on Python 3, but I think that's a worthwile price to pay since it doesn't break any tests. Differential Revision: https://phab.mercurial-scm.org/D7108
author Augie Fackler <augie@google.com>
date Tue, 15 Oct 2019 11:06:04 -0400
parents ba5b062a1388
children 313e3a279828
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Tue Oct 15 09:48:27 2019 -0400
+++ b/mercurial/debugcommands.py	Tue Oct 15 11:06:04 2019 -0400
@@ -950,7 +950,7 @@
 
     remoterevs, _checkout = hg.addbranchrevs(repo, remote, branches, revs=None)
     localrevs = opts[b'rev']
-    with util.timedcm(b'debug-discovery') as t:
+    with util.timedcm('debug-discovery') as t:
         common, hds = doit(localrevs, remoterevs)
 
     # compute all statistics