diff -r 1e39a2459359 -r 295af5bc1bcc mercurial/hgweb/webcommands.py --- 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()))