mercurial/formatter.py
changeset 28957 d813132ea361
parent 28955 78759f78a44e
child 29324 b501579147f1
--- a/mercurial/formatter.py	Sun Apr 03 13:23:40 2016 +0900
+++ b/mercurial/formatter.py	Sun Mar 27 20:59:36 2016 +0900
@@ -197,7 +197,8 @@
 
 def maketemplater(ui, topic, tmpl, filters=None, cache=None):
     """Create a templater from a string template 'tmpl'"""
-    t = templater.templater(filters=filters, cache=cache)
+    aliases = ui.configitems('templatealias')
+    t = templater.templater(filters=filters, cache=cache, aliases=aliases)
     if tmpl:
         t.cache[topic] = tmpl
     return t