[Bug 4102] New: templater: quoted escaped characters are not parsed correctly
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Sun Nov 17 20:14:08 CST 2013
http://bz.selenic.com/show_bug.cgi?id=4102
Priority: normal
Bug ID: 4102
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: templater: quoted escaped characters are not parsed
correctly
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
Currently, the templater engine is confused by quoted escape sequences. For
example,
$ hg log -r 0 --template 'new \\x0a line'
new \x0a line
$ hg log -r 0 --template '{if(rev, "new \\x0a line")}'
new
line
$ hg log -r 0ac2a
changeset: 110006:0ac2a8640928
user: Sean Farley <sean.michael.farley at gmail.com>
date: Sat Nov 16 11:37:33 2013 -0500
summary: hgview{,-devel}: move python files into right directory
$ hg log -r 0ac2a8 --template "{label('log.description',
fill(desc|firstline|strip, '80')|firstline|strip)}"
hg: parse error at 8: syntax error
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list