diff -r effb22ac3648 -r a602785d86cd mercurial/commands.py --- a/mercurial/commands.py Mon Feb 06 23:09:15 2017 -0500 +++ b/mercurial/commands.py Mon Feb 06 23:09:21 2017 -0500 @@ -2721,7 +2721,6 @@ Returns 0 if successful. """ - textwidth = ui.configint('ui', 'textwidth', 78) termwidth = ui.termwidth() - 2 if textwidth <= 0 or termwidth < textwidth: @@ -2772,6 +2771,7 @@ keep.append('notomitted') formatted, pruned = minirst.format(text, textwidth, keep=keep, section=section) + ui.pager('help') ui.write(formatted)