[Bug 4103] New: templater: curly braces in a log message are parsed as sub templates
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Mon Nov 18 18:52:16 UTC 2013
http://bz.selenic.com/show_bug.cgi?id=4103
Priority: normal
Bug ID: 4103
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: templater: curly braces in a log message are parsed as
sub templates
Severity: bug
Classification: Unclassified
OS: Mac OS
Reporter: sean.michael.farley at gmail.com
Hardware: PC
Status: UNCONFIRMED
Version: 2.8
Component: Mercurial
Product: Mercurial
If we run this
$ mkdir hgtmp && cd hgtmp
$ hg init .
$ echo a>>a
$ hg ci -Am 'This should not be a number: {rev}'
$ hg log -r 0 --template '{if(rev, desc)}\n'
it erroneously displays
This should not be a number: 0
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list