diff -r fabbf9310025 -r fa88170c10bb mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py Fri Oct 12 18:06:32 2018 +0200 +++ b/mercurial/hgweb/webcommands.py Fri Oct 12 18:49:11 2018 +0200 @@ -1418,8 +1418,8 @@ if 'DEPRECATED' in doc or c.startswith('debug'): continue cmd = primary(c) - if cmd.startswith('^'): - early.append((cmd[1:], doc)) + if getattr(e[0], 'helpbasic', False): + early.append((cmd, doc)) else: other.append((cmd, doc))