Why isn't pagination enabled by default for hg log? [was - Re: | less or more don't display colors]
David Demelier
demelier.david at gmail.com
Fri Feb 5 07:38:29 UTC 2016
Le 04/02/2016 13:45, Jaikiran Pai a écrit :
> One thing I have always wondered is why isn't pagination enabled by
> default (i.e. out of the box hg installation) in mercurial. For any
> real reasonable sized project, the logs are going to span more than a
> page. Git for example has pagination enabled by default for logs (I
> don't mean to make it a git vs hg thing).
>
"Git has" is not a valid argument.
> I understand there are ways to setup aliases/configs etc but it isn't
> always feasible to do that. For example, given the nature of my work,
> most of the times, I have to ssh into various systems and browse the
> mercurial repos on those systems. I can't expect those aliases/configs
> to be setup there to be able to get a nice paginated output from hg
> log. I also realize that I can always do "hg log | less" to get
> pagination, but I'm curious why this isn't a default out of the box
> feature. Is there something that prevents it from being implemented as
> an enhancement in future releases?
>
I hope no, I just hate when a pager is started by default. To be able to
setup it why not, but I just do not want this to be enabled by default.
Regards,
--
David Demelier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20160205/c3121869/attachment-0002.html>
More information about the Mercurial
mailing list