problem with alias regard hg log

Yuya Nishihara yuya at tcha.org
Wed Feb 14 13:55:57 UTC 2018


On Tue, 13 Feb 2018 18:50:04 +0100, Uwe Brauer wrote:
> When I use
>  hg log -G
> 
> Everything is fine, the top of the DAG is displayed and when I hit enter
> its advance. So it seems that some kind of more or less argument is
> involved.
> 
> However when I try to set an alias like
> 
> gs =  log -G --stat
> 
> The hg gs does not stop it displays the whole DAG.

Perhaps you need to disable the deprecated pager extension and use the core
pager instead. If you're using an older hg where pager isn't in core, add
'gs' to the attend list:

  [pager]
  attend-gs = True



More information about the Mercurial mailing list