Submitter | phabricator |
---|---|
Date | May 26, 2019, 9:06 p.m. |
Message ID | <6509e2d5c0f408df5c10f33bf675089b@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/40243/ |
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 s[0] for s in subtopics[name]): + raise error.UnknownCommand(name) if not header: for topic in helptable: