Mercurial > hg
view mercurial/templates/spartan/filelogentry.tmpl @ 18032:a9e623bb440e
dirstate: test normalize is truthy instead of using a no-op lambda
hg perfstatus -u on a working directory with 170,000 files, without this
change:
! wall 1.869404 comb 1.850000 user 1.170000 sys 0.680000 (best of 6)
With this change:
! wall 1.839561 comb 1.830000 user 1.120000 sys 0.710000 (best of 6)
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Tue, 04 Dec 2012 10:29:18 -0800 |
parents | fe9d36a6853e |
children | 9409aeaafdc1 |
line wrap: on
line source
<table class="logEntry parity{parity}"> <tr> <th><span class="age">{date|rfc822date}</span>:</th> <th class="firstline"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></th> </tr> <tr> <th class="revision">revision {filerev}:</td> <td class="node"> <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">(diff)</a> <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">(annotate)</a> </td> </tr> {rename%filelogrename} <tr> <th class="author">author:</th> <td class="author">{author|obfuscate}</td> </tr> <tr> <th class="date">date:</th> <td class="date">{date|rfc822date}</td> </tr> </table>