[PATCH] RFC hgext/pager: disable pager when things happen

Matt Mackall mpm at selenic.com
Fri Oct 24 10:45:41 CDT 2008


On Wed, 2008-10-22 at 00:25 +0200, Mads Kiilerich wrote:
> # HG changeset patch
> # User Mads Kiilerich <mads at kiilerich.com>
> # Date 1224627926 -7200
> # Node ID 998c0d4852e6dc30eaa89e50bb35902d48cf40a8
> # Parent  71d6a2187ce6d0cb8e2c7b030530f347ddbbef3e
> RFC hgext/pager: disable pager when things happen
> 
> This seems to work better-than-before for me. At least for the email command.
> Especially combined with [pager] pager=less --quit-if-one-screen
> 
> Is it working for you? Could or should it be improved by monkey-wrapping other
> functions? Is it worth improving?

Looks sensible. We've got some new magic in mainline for wrapping
functions nicely, see extensions.wrapfunction and wrapcommand.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list