changeset 7182 | 295af5bc1bcc |
parent 7107 | 125c8fedcbe0 |
child 7183 | 099b4f9be5ab |
--- a/mercurial/hgweb/webcommands.py Mon Oct 20 10:20:35 2008 +0200 +++ b/mercurial/hgweb/webcommands.py Mon Oct 20 12:41:09 2008 +0200 @@ -234,7 +234,8 @@ files = [] parity = paritygen(web.stripecount) for f in ctx.files(): - files.append(tmpl("filenodelink", + template = f in ctx and 'filenodelink' or 'filenolink' + files.append(tmpl(template, node=hex(n), file=f, parity=parity.next()))