Show More
@@ -261,9 +261,7 b' def _disabledhelp(path):' | |||
|
261 | 261 | return _('(no help text available)') |
|
262 | 262 | |
|
263 | 263 | def disabled(): |
|
264 | '''find disabled extensions from hgext | |
|
265 | returns a dict of {name: desc}, and the max name length''' | |
|
266 | ||
|
264 | '''find disabled extensions from hgext. returns a dict of {name: desc}''' | |
|
267 | 265 | paths = _disabledpaths() |
|
268 | 266 | if not paths: |
|
269 | 267 | return None |
@@ -328,7 +326,7 b' def disabledcmd(ui, cmd, strict=False):' | |||
|
328 | 326 | raise error.UnknownCommand(cmd) |
|
329 | 327 | |
|
330 | 328 | def enabled(): |
|
331 |
'''return a dict of {name: desc} of extensions |
|
|
329 | '''return a dict of {name: desc} of extensions''' | |
|
332 | 330 | exts = {} |
|
333 | 331 | for ename, ext in extensions(): |
|
334 | 332 | doc = (gettext(ext.__doc__) or _('(no help text available)')) |
General Comments 0
You need to be logged in to leave comments.
Login now