mercurial/templater.py
changeset 10855 62216faed067
parent 10854 4036634560d6
child 11305 d4cafcb63f77
--- 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: