comparison 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
comparison
equal deleted inserted replaced
31012:61b4122019d3 31013:9c2977ceaa46
91 ('', 'time', None, _('time how long the command takes')), 91 ('', 'time', None, _('time how long the command takes')),
92 ('', 'profile', None, _('print command execution profile')), 92 ('', 'profile', None, _('print command execution profile')),
93 ('', 'version', None, _('output version information and exit')), 93 ('', 'version', None, _('output version information and exit')),
94 ('h', 'help', None, _('display help and exit')), 94 ('h', 'help', None, _('display help and exit')),
95 ('', 'hidden', False, _('consider hidden changesets')), 95 ('', 'hidden', False, _('consider hidden changesets')),
96 ('', 'pager', 'auto',
97 _("when to paginate (boolean, always, auto, or never)"), _('TYPE')),
96 ] 98 ]
97 99
98 dryrunopts = [('n', 'dry-run', None, 100 dryrunopts = [('n', 'dry-run', None,
99 _('do not perform actions, just print output'))] 101 _('do not perform actions, just print output'))]
100 102