Show More
@@ -110,7 +110,7 b' def showdoc(ui):' | |||||
110 | " :depth: 1\n\n") |
|
110 | " :depth: 1\n\n") | |
111 |
|
111 | |||
112 | for extensionname in sorted(allextensionnames()): |
|
112 | for extensionname in sorted(allextensionnames()): | |
113 |
mod = extensions.load( |
|
113 | mod = extensions.load(ui, extensionname, None) | |
114 | ui.write(minirst.subsection(extensionname)) |
|
114 | ui.write(minirst.subsection(extensionname)) | |
115 | ui.write("%s\n\n" % gettext(mod.__doc__)) |
|
115 | ui.write("%s\n\n" % gettext(mod.__doc__)) | |
116 | cmdtable = getattr(mod, 'cmdtable', None) |
|
116 | cmdtable = getattr(mod, 'cmdtable', None) |
@@ -149,8 +149,7 b' def topicmatch(ui, kw):' | |||||
149 | for name, docs in itertools.chain( |
|
149 | for name, docs in itertools.chain( | |
150 | extensions.enabled(False).iteritems(), |
|
150 | extensions.enabled(False).iteritems(), | |
151 | extensions.disabled().iteritems()): |
|
151 | extensions.disabled().iteritems()): | |
152 |
|
|
152 | mod = extensions.load(ui, name, '') | |
153 | mod = extensions.load(None, name, '') |
|
|||
154 | name = name.rpartition('.')[-1] |
|
153 | name = name.rpartition('.')[-1] | |
155 | if lowercontains(name) or lowercontains(docs): |
|
154 | if lowercontains(name) or lowercontains(docs): | |
156 | # extension docs are already translated |
|
155 | # extension docs are already translated |
General Comments 0
You need to be logged in to leave comments.
Login now