changeset 7126:111813de4188

remove extension commands from global help
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Thu, 12 Jun 2008 11:49:13 +0200
parents 4a1ac535be1d
children 9df67ee30ef5
files mercurial/commands.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Sat Oct 18 16:50:03 2008 +0200
+++ b/mercurial/commands.py	Thu Jun 12 11:49:13 2008 +0200
@@ -1310,6 +1310,8 @@
             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("^")