diff -r bd522d09d5e3 -r de9c87fe1620 mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py Mon Nov 03 20:41:48 2008 +0100 +++ b/mercurial/hgweb/webcommands.py Mon Nov 03 20:31:53 2008 +0100 @@ -130,6 +130,7 @@ count += 1 n = ctx.node() showtags = webutil.showtag(web.repo, tmpl, 'changelogtag', n) + files = webutil.listfilediffs(tmpl, ctx.files(), n, web.maxfiles) yield tmpl('searchentry', parity=parity.next(), @@ -139,7 +140,7 @@ changelogtag=showtags, desc=ctx.description(), date=ctx.date(), - files=web.listfilediffs(tmpl, ctx.files(), n), + files=files, rev=ctx.rev(), node=hex(n), tags=webutil.nodetagsdict(web.repo, n), @@ -178,6 +179,7 @@ ctx = web.repo[i] n = ctx.node() showtags = webutil.showtag(web.repo, tmpl, 'changelogtag', n) + files = webutil.listfilediffs(tmpl, ctx.files(), n, web.maxfiles) l.insert(0, {"parity": parity.next(), "author": ctx.user(), @@ -186,7 +188,7 @@ "changelogtag": showtags, "desc": ctx.description(), "date": ctx.date(), - "files": web.listfilediffs(tmpl, ctx.files(), n), + "files": files, "rev": i, "node": hex(n), "tags": webutil.nodetagsdict(web.repo, n),