diff -r f6b3b346d80c -r d5b525697ddb mercurial/commands.py --- a/mercurial/commands.py Fri May 13 11:26:29 2011 +0200 +++ b/mercurial/commands.py Fri May 13 11:04:51 2011 -0500 @@ -2752,8 +2752,7 @@ doc = gettext(mod.__doc__).splitlines()[0] msg = help.listexts(_("'%s' is provided by the following " - "extension:") % cmd, {ext: doc}, len(ext), - indent=4) + "extension:") % cmd, {ext: doc}, indent=4) ui.write(minirst.format(msg, textwidth)) ui.write('\n\n') ui.write(_('use "hg help extensions" for information on enabling ' @@ -2799,8 +2798,7 @@ helplist(header) if name != 'shortlist': - exts, maxlength = extensions.enabled() - text = help.listexts(_('enabled extensions:'), exts, maxlength) + text = help.listexts(_('enabled extensions:'), extensions.enabled()) if text: ui.write("\n%s\n" % minirst.format(text, textwidth))