[PATCH 0 of 2] pager: add --pager and only start pager when there's output

Brodie Rao brodie at bitheap.org
Sun Sep 19 10:59:06 CDT 2010


The first patch is another attempt at adding a global option to toggle
the pager. It uses util.parsebool() to handle boolean values.

The second patch makes it so the pager isn't launched if hg has no
output. So if you're doing "hg diff" and nothing has changed, you
won't get an empty pager.


More information about the Mercurial-devel mailing list