Вопрос

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