Show More
@@ -297,8 +297,8 b' def topicmatch(ui, commands, kw):' | |||||
297 | continue |
|
297 | continue | |
298 | results[b'commands'].append((cmdname, summary)) |
|
298 | results[b'commands'].append((cmdname, summary)) | |
299 | for name, docs in itertools.chain( |
|
299 | for name, docs in itertools.chain( | |
300 |
|
|
300 | extensions.enabled(False).items(), | |
301 |
|
|
301 | extensions.disabled().items(), | |
302 | ): |
|
302 | ): | |
303 | if not docs: |
|
303 | if not docs: | |
304 | continue |
|
304 | continue | |
@@ -311,7 +311,7 b' def topicmatch(ui, commands, kw):' | |||||
311 | except ImportError: |
|
311 | except ImportError: | |
312 | # debug message would be printed in extensions.load() |
|
312 | # debug message would be printed in extensions.load() | |
313 | continue |
|
313 | continue | |
314 |
for cmd, entry in |
|
314 | for cmd, entry in getattr(mod, 'cmdtable', {}).items(): | |
315 | if kw in cmd or (len(entry) > 2 and lowercontains(entry[2])): |
|
315 | if kw in cmd or (len(entry) > 2 and lowercontains(entry[2])): | |
316 | cmdname = cmdutil.parsealiases(cmd)[0] |
|
316 | cmdname = cmdutil.parsealiases(cmd)[0] | |
317 | func = entry[0] |
|
317 | func = entry[0] |
General Comments 0
You need to be logged in to leave comments.
Login now