# HG changeset patch # User Augie Fackler # Date 1486440561 18000 # Node ID a602785d86cd53b2366cfb0acc5a67c953513dd0 # Parent effb22ac3648fac331011e0738d880d030a17353 help: enable pager 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)