mercurial/templater.py
changeset 25580 a69983942fb4
parent 25509 576d6c74784b
parent 25562 9452112c8eb0
child 25595 a7dd6692e5cb
--- a/mercurial/templater.py	Wed May 27 13:22:48 2015 -0700
+++ b/mercurial/templater.py	Mon Jun 15 13:31:22 2015 -0500
@@ -266,7 +266,7 @@
 
     def getpatterns(i):
         if i < len(args):
-            s = args[i][1].strip()
+            s = stringify(args[i][0](context, mapping, args[i][1])).strip()
             if s:
                 return [s]
         return []