changeset 40295 | fa88170c10bb |
parent 40292 | 9c6473d2038b |
child 40407 | 3d76a8e627a6 |
child 40820 | 4265bfb53dd3 |
--- 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))