[PATCH] Log, annotate and diff use an environment pager if available
David Soria Parra
sn_ at gmx.net
Sat Mar 8 18:04:47 CST 2008
Tim Bell wrote:
> Martin Geisler wrote:
>
>> I'm sorry, but I think this is a bad idea -- if I want a pager, then
>> I'll run it myself when needed. I want to decide on a case by case
>> basis. Sometimes I want to run things through "colordiff.pl | less -R",
>> sometimes I might want to run things through "tee", and sometimes I just
>> want to use the scrollback buffer in my terminal.
>
> I agree with Martin. If you do this, leave it off by default.
>
> Sometimes the consumer of the output is a pipeline and not a human. I don't want a pager to
> automatically try to 'help' me when my script is trying to send the output to grep or some
> other destination.
pipelines are not a problem here, they work perfectly together with pagers
More information about the Mercurial-devel
mailing list