Mercurial > hg
changeset 10855:62216faed067
templater: drop \ when handling escaped {
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 05 Apr 2010 15:25:08 -0500 |
parents | 4036634560d6 |
children | b07bd417115b |
files | mercurial/templater.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/templater.py Mon Apr 05 15:25:08 2010 -0500 +++ b/mercurial/templater.py Mon Apr 05 15:25:08 2010 -0500 @@ -121,7 +121,7 @@ break if n > 0 and tmpl[n - 1] == '\\': # escaped - parsed.append((None, tmpl[pos:n + 1])) + parsed.append((None, tmpl[pos:n - 1] + "{")) pos = n + 1 continue if n > pos: