I am using Merucrial with the pager extension, and I am trying to configure out to use the pager for blame, but it's not working.

I have in my .hgrc file:

[extensions]
pager = 

[pager]
pager = less -FRX
attend = diff, status, help, log, blame

The other commands - diff, status, help, and log are correctly routed through the pager, but blame is not. Any ideas as to why?

有帮助吗?

解决方案

blame is an alias for annotate. If you specify annotate rather than blame in the .hgrc, it works fine.

I guess the pager.attend attribute does not accept aliases, it needs the name of the original command.

I filed a bug for this.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top