--- 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]))