diff contrib/perf.py @ 40295:fa88170c10bb

help: adding a proper declaration for shortlist/basic commands (API) We previously used the '^' prefix to indicate that a command should be shown on the short list (shown for just "hg"), but that's a horrible hack, so I'm removing it. Differential Revision: https://phab.mercurial-scm.org/D5069
author Rodrigo Damazio <rdamazio@google.com>
date Fri, 12 Oct 2018 18:49:11 +0200
parents b456b2e0ad9f
children 1524c305377f
line wrap: on
line diff
--- a/contrib/perf.py	Fri Oct 12 18:06:32 2018 +0200
+++ b/contrib/perf.py	Fri Oct 12 18:49:11 2018 +0200
@@ -152,7 +152,7 @@
 # define parsealiases locally, because cmdutil.parsealiases has been
 # available since 1.5 (or 6252852b4332)
 def parsealiases(cmd):
-    return cmd.lstrip(b"^").split(b"|")
+    return cmd.split(b"|")
 
 if safehasattr(registrar, 'command'):
     command = registrar.command(cmdtable)