Question

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?

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top