[PATCH 0 of 2] pager: add global --paginate/--no-pager options

Brodie Rao brodie at bitheap.org
Sat Aug 21 22:17:14 CDT 2010


This patch series adds two global options to pager: --paginate and
--no-pager.

These are useful if you want to enable/disable the pager for just one
command. Without these flags, you'd have to do something like "hg --config
pager.attend=foo foo" for --paginate and "hg foo | cat" for --no-pager,
both of which are cumbersome and not immediately obvious.

The first patch is required to make global options with dashes work.


More information about the Mercurial-devel mailing list