[PATCH] patchbomb: respect HGPLAIN when piping --test output to PAGER

Yuya Nishihara yuya at tcha.org
Mon May 17 09:25:12 CDT 2010


Matt Mackall wrote:
> On Sun, 2010-05-16 at 22:25 +0900, Yuya Nishihara wrote:
> > # HG changeset patch
> > # User Yuya Nishihara <yuya at tcha.org>
> > # Date 1274016194 -32400
> > # Node ID 985b9630064119a150e0e7b96ad14bf4b223b4c1
> > # Parent  358a737dd040e459c82c70bd511d8ce844b207c2
> > patchbomb: respect HGPLAIN when piping --test output to PAGER
> > 
> > It makes easy to use `hg email --test` from another tool.
> 
> Good catch, queued. I'm tempted to rip that pager support out entirely
> as that's what pager.py is for.

I agree, but the pager extension is currently unusable with `hg email`
because it disables any interactive things.

We need to fire up pager after prompt.


More information about the Mercurial-devel mailing list