ngoldbaum updated this revision to Diff 15258. REPOSITORY rHG Mercurial
CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6441?vs=15246&id=15258 REVISION DETAIL https://phab.mercurial-scm.org/D6441 AFFECTED FILES mercurial/help.py CHANGE DETAILS diff --git a/mercurial/help.py b/mercurial/help.py --- a/mercurial/help.py +++ b/mercurial/help.py @@ -689,6 +689,8 @@ for names, header, doc in subtopics[name]: if subtopic in names: break + if not any(subtopic in names for names, _, _ in subtopics[name]): + raise error.UnknownCommand(name) if not header: for topic in helptable: To: ngoldbaum, #hg-reviewers, martinvonz Cc: martinvonz, av6, mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel