Submitter | phabricator |
---|---|
Date | May 25, 2019, 11:54 a.m. |
Message ID | <965c04b787318aa9d246ba5a5b4b7ffa@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/40233/ |
State | Not Applicable |
Headers | show |
Comments
Patch
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: