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.
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
.
If you are using less on hg log because it shows the results in reverse order, and therefore the most recent versions scroll off the screen, then you can reverse the order using
hg log -r:
I find this command so useful, yet the colon so unintuitive, I have to look it up here every time
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With