mercurial/help.py
branchstable
changeset 19769 83d79a00cc24
parent 18748 6e676fb6ea44
child 20034 1e5b38a919dd
--- a/mercurial/help.py	Fri Sep 20 10:45:51 2013 -0700
+++ b/mercurial/help.py	Mon Sep 23 20:23:25 2013 +0900
@@ -103,10 +103,11 @@
             cmdname = cmd.split('|')[0].lstrip('^')
             results['commands'].append((cmdname, summary))
     for name, docs in itertools.chain(
-        extensions.enabled().iteritems(),
+        extensions.enabled(False).iteritems(),
         extensions.disabled().iteritems()):
         # extensions.load ignores the UI argument
         mod = extensions.load(None, name, '')
+        name = name.split('.')[-1]
         if lowercontains(name) or lowercontains(docs):
             # extension docs are already translated
             results['extensions'].append((name, docs.splitlines()[0]))