Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 31013:9c2977ceaa46
pager: move more behavior into core
This moves the global flag and the --pager=yes logic into core. Only
functionality change is that users now always get a --pager flag and
can enable the pager via the flag without the extension active.
Moving the flag into core exposes a defect in the ro localization,
which will have to be corrected later.
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 15 Feb 2017 17:47:57 -0500 |
parents | afaf3c2b129c |
children | 334cf948c758 |
line wrap: on
line diff
--- a/mercurial/commands.py Wed Feb 15 17:47:51 2017 -0500 +++ b/mercurial/commands.py Wed Feb 15 17:47:57 2017 -0500 @@ -93,6 +93,8 @@ ('', 'version', None, _('output version information and exit')), ('h', 'help', None, _('display help and exit')), ('', 'hidden', False, _('consider hidden changesets')), + ('', 'pager', 'auto', + _("when to paginate (boolean, always, auto, or never)"), _('TYPE')), ] dryrunopts = [('n', 'dry-run', None,