deprecated --style

Yuya Nishihara yuya at tcha.org
Sun Jul 20 10:59:57 UTC 2014


On Sun, 20 Jul 2014 13:49:07 +0300, anatoly techtonik wrote:
> I could find --style in `hg log -h` output, and found out
> that it is deprecated.
> 
>     templateopts = [
>         ('', 'style', '',
>          _('display using template map file (DEPRECATED)'), _('STYLE')),
>         ('T', 'template', '',
>          _('display with template'), _('TEMPLATE')),
>     ]
> 
> How come? Why? It is convenient to have a couple of popular formats.

--style style is superseded by -Tstyle.

http://selenic.com/repo/hg/rev/3a35ba2681ec
http://selenic.com/repo/hg/rev/870d60294b04

Regards,



More information about the Mercurial mailing list