mercurial/help.py
changeset 40415 dce0e0f78f0f
parent 40414 444861dc1e55
child 40460 4fe63b573791
--- a/mercurial/help.py	Thu Oct 18 19:57:05 2018 -0700
+++ b/mercurial/help.py	Thu Oct 18 19:57:30 2018 -0700
@@ -540,15 +540,6 @@
             func = e[0]
             if select and not select(f):
                 continue
-            # Only list built-in commands (defined in commands.py) and aliases
-            # (defined in dispatch.py), but not any other extensions.
-            # We don't want a circular dependency between this file and
-            # dispatch, so reference that by name.
-            # TODO(rdamazio): Just show commands from all extensions.
-            if (not select and name != 'shortlist' and
-                func.__module__ != commands.__name__ and
-                func.__module__ != 'mercurial.dispatch'):
-                continue
             doc = pycompat.getdoc(func)
             if filtercmd(ui, f, func, name, doc):
                 continue