--- a/mercurial/commands.py Fri Mar 07 14:29:26 2014 -0500
+++ b/mercurial/commands.py Sat Mar 08 15:27:25 2014 -0600
@@ -90,7 +90,7 @@
templateopts = [
('', 'style', '',
_('display using template map file'), _('STYLE')),
- ('', 'template', '',
+ ('T', 'template', '',
_('display with template'), _('TEMPLATE')),
]
--- a/tests/test-command-template.t Fri Mar 07 14:29:26 2014 -0500
+++ b/tests/test-command-template.t Sat Mar 08 15:27:25 2014 -0600
@@ -45,7 +45,7 @@
$ hg log --template '{join(file_copies, ",\n")}\n' -r .
fourth (second)
- $ hg log --template '{file_copies % "{source} -> {name}\n"}' -r .
+ $ hg log -T '{file_copies % "{source} -> {name}\n"}' -r .
second -> fourth
Quoting for ui.logtemplate