formatter: drop filters argument from maketemplater()
It's unused now. I want to keep the high-level API simple.
--- a/mercurial/formatter.py Sat Feb 25 16:26:58 2017 +0900
+++ b/mercurial/formatter.py Sat Feb 25 22:04:30 2017 +0900
@@ -389,10 +389,10 @@
return templater.templater.frommapfile(mapfile)
return maketemplater(ui, topic, tmpl)
-def maketemplater(ui, topic, tmpl, filters=None, cache=None):
+def maketemplater(ui, topic, tmpl, cache=None):
"""Create a templater from a string template 'tmpl'"""
aliases = ui.configitems('templatealias')
- t = templater.templater(filters=filters, cache=cache, aliases=aliases)
+ t = templater.templater(cache=cache, aliases=aliases)
if tmpl:
t.cache[topic] = tmpl
return t