mercurial/templater.py
changeset 19058 d8d548d868d3
parent 18970 3cdb6f2f6789
child 19079 1e433b5457fd
--- a/mercurial/templater.py	Wed Apr 17 03:41:34 2013 +0200
+++ b/mercurial/templater.py	Wed Apr 10 19:27:49 2013 -0500
@@ -251,6 +251,8 @@
     pat = stringify(args[0][0](context, mapping, args[0][1]))
     rpl = stringify(args[1][0](context, mapping, args[1][1]))
     src = stringify(args[2][0](context, mapping, args[2][1]))
+    src = stringify(runtemplate(context, mapping,
+                                compiletemplate(src, context)))
     yield re.sub(pat, rpl, src)
 
 def if_(context, mapping, args):