mercurial/formatter.py
changeset 36920 6ff6e1d6b5b8
parent 36634 cafd0586876b
child 36921 32f9b7e3f056
--- a/mercurial/formatter.py	Wed Feb 28 15:20:41 2018 -0500
+++ b/mercurial/formatter.py	Thu Mar 08 23:10:46 2018 +0900
@@ -124,6 +124,7 @@
     templatefilters,
     templatekw,
     templater,
+    templateutil,
     util,
 )
 from .utils import dateutil
@@ -403,7 +404,7 @@
             props['revcache'] = {}
         props = pycompat.strkwargs(props)
         g = self._t(ref, **props)
-        self._out.write(templater.stringify(g))
+        self._out.write(templateutil.stringify(g))
 
     def end(self):
         baseformatter.end(self)