D5421: py3: add a missing b'' prefix in contrib/perf.py

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Fri Dec 14 16:27:31 UTC 2018


pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  skip-blame because just b'' prefixes
  ====================================
  
  This fixes test-contrib-perf.t on Python 3 which started failing.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5421

AFFECTED FILES
  contrib/perf.py

CHANGE DETAILS

diff --git a/contrib/perf.py b/contrib/perf.py
--- a/contrib/perf.py
+++ b/contrib/perf.py
@@ -1014,7 +1014,7 @@
     fm.end()
 
 @command(b'perfindex', [
-            (b'', b'rev', '', b'revision to be looked up (default tip)'),
+            (b'', b'rev', b'', b'revision to be looked up (default tip)'),
          ] + formatteropts)
 def perfindex(ui, repo, **opts):
     import mercurial.revlog



To: pulkit, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list