diff -r 4237d07fad2c -r 9482498b96b0 mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py Tue Apr 03 23:33:54 2018 +0900 +++ b/mercurial/hgweb/webcommands.py Tue Apr 03 23:34:55 2018 +0900 @@ -296,8 +296,7 @@ count += 1 n = ctx.node() showtags = webutil.showtag(web.repo, 'changelogtag', n) - files = webutil.listfilediffs(web.tmpl, ctx.files(), n, - web.maxfiles) + files = webutil.listfilediffs(ctx.files(), n, web.maxfiles) lm = webutil.commonentry(web.repo, ctx) lm.update({