mercurial/commands.py
changeset 7197 f60730693efc
parent 7196 3f6a4f1de43f
child 7210 833d1250ce00
--- a/mercurial/commands.py	Tue Oct 21 11:05:45 2008 +0200
+++ b/mercurial/commands.py	Tue Oct 21 11:29:27 2008 +0200
@@ -1310,7 +1310,8 @@
             f = c.split("|", 1)[0]
             if select and not select(f):
                 continue
-            if select is None and e[0].__module__ != __name__:
+            if (not select and name != 'shortlist' and
+                e[0].__module__ != __name__):
                 continue
             if name == "shortlist" and not f.startswith("^"):
                 continue
@@ -1338,7 +1339,7 @@
                 ui.write(' %-*s   %s\n' % (m, f, h[f]))
 
         exts = list(extensions.extensions())
-        if exts:
+        if exts and name != 'shortlist':
             ui.write(_('\nenabled extensions:\n\n'))
             maxlength = 0
             exthelps = []