views:

272

answers:

1

Hi,

Is there a way to make mercurial use less to show me the logs/diffs/whatever by default? Now mercurial just displays everything when I type 'hg log'. I suppose I can use aliases like 'hg log = less hg log' if I want to. I'm wondering if there're better solutions.

+4  A: 

See the pager extension:

Browse command output using an external pager

It's distributed with mercurial, so you just need to activate it in hgrc.

tonfa