# HG changeset patch # User Dirkjan Ochtman # Date 2008-06-12 09:49:13 # Node ID 111813de4188f2cf92ba86ec9930dc2eb1796bd0 # Parent 4a1ac535be1df014a419af812c755613bf9ad266 remove extension commands from global help diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -1310,6 +1310,8 @@ def help_(ui, name=None, with_version=Fa f = c.split("|", 1)[0] if select and not select(f): continue + if select is None and e[0].__module__ != __name__: + continue if name == "shortlist" and not f.startswith("^"): continue f = f.lstrip("^")