mercurial/formatter.py
changeset 28384 3356bf61fa25
parent 26587 56b2bcea2529
child 28630 bf35644b9f3a
--- a/mercurial/formatter.py	Tue Mar 08 14:32:03 2016 +0000
+++ b/mercurial/formatter.py	Tue Mar 08 04:08:33 2016 -0800
@@ -153,7 +153,7 @@
         self._topic = topic
         self._t = gettemplater(ui, topic, opts.get('template', ''))
     def _showitem(self):
-        g = self._t(self._topic, **self._item)
+        g = self._t(self._topic, ui=self._ui, **self._item)
         self._ui.write(templater.stringify(g))
 
 def lookuptemplate(ui, topic, tmpl):