comparison mercurial/hgweb/webcommands.py @ 37998:9482498b96b0

hgweb: remove unused argument 'tmpl' from listfilediffs()
author Yuya Nishihara <yuya@tcha.org>
date Tue, 03 Apr 2018 23:34:55 +0900
parents 16c7a6ac8f94
children 623dc2651d26
comparison
equal deleted inserted replaced
37997:4237d07fad2c 37998:9482498b96b0
294 294
295 for ctx in searchfunc[0](funcarg): 295 for ctx in searchfunc[0](funcarg):
296 count += 1 296 count += 1
297 n = ctx.node() 297 n = ctx.node()
298 showtags = webutil.showtag(web.repo, 'changelogtag', n) 298 showtags = webutil.showtag(web.repo, 'changelogtag', n)
299 files = webutil.listfilediffs(web.tmpl, ctx.files(), n, 299 files = webutil.listfilediffs(ctx.files(), n, web.maxfiles)
300 web.maxfiles)
301 300
302 lm = webutil.commonentry(web.repo, ctx) 301 lm = webutil.commonentry(web.repo, ctx)
303 lm.update({ 302 lm.update({
304 'parity': next(parity), 303 'parity': next(parity),
305 'changelogtag': showtags, 304 'changelogtag': showtags,