"hg qseries" ignores ignore pager settings

Stephen Rasku mercurial at srasku.net
Tue Jun 14 13:41:09 CDT 2011


On Tue, Jun 14, 2011 at 10:56, Idan Kamara <idankk86 at gmail.com> wrote:

> On Tue, Jun 14, 2011 at 6:41 PM, Stephen Rasku <mercurial at srasku.net> wrote:
> > Here's my pager configuration:
> >
> > [pager]
> > pager         = LESS='FRX' less
> > ignore        = revert serve grep qpush merge
> >
> > I haven't ignored qseries so "hg qseries" should use the pager but it
> > doesn't.  It works fine if I put qseries into an attend list.
>
> The default attended commands are defined here:
> http://selenic.com/repo/hg/file/6e631c24c6d9/hgext/pager.py#l117
> As you can see, qseries isn't one of them.
>
> You might be interested in attending all commands, except those that
> are ignored.
> The extension wiki page says:
>
> If pager.attend is present, the resulting behaviour will be that the
> pager is used for all commands listed in pager.attend, minus those
> which also appear in pager.ignore (an empty pager.attend behaves as if
> every command was specified).

OK, thanks.  I've updated the wiki to make it more accurate.

...Stephen


More information about the Mercurial mailing list