Mercurial > public > mercurial-scm > hg
diff mercurial/cmdutil.py @ 35954:386c1e45e671
logcmdutil: drop default arguments from changesetdisplayer/templater() calls
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 21 Jan 2018 14:28:03 +0900 |
parents | 264b90a060b7 |
children | 55e8efa2451a |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Sun Jan 21 13:47:06 2018 +0900 +++ b/mercurial/cmdutil.py Sun Jan 21 14:28:03 2018 +0900 @@ -2501,7 +2501,7 @@ def buildcommittemplate(repo, ctx, subs, extramsg, ref): ui = repo.ui spec = formatter.templatespec(ref, None, None) - t = logcmdutil.changesettemplater(ui, repo, spec, None, {}, False) + t = logcmdutil.changesettemplater(ui, repo, spec) t.t.cache.update((k, templater.unquotestring(v)) for k, v in repo.ui.configitems('committemplate'))