# HG changeset patch # User Yuya Nishihara # Date 1488027870 -32400 # Node ID e64b70c96338a5242ae31b0b840c4eff08e080c8 # Parent 48a8b2e5fe317b699594ca4116780f9814450a98 formatter: drop filters argument from maketemplater() It's unused now. I want to keep the high-level API simple. diff -r 48a8b2e5fe31 -r e64b70c96338 mercurial/formatter.py --- 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