Mercurial > hg
view mercurial/templates/gitweb/changelogentry.tmpl @ 18558:eb95cf4e219d
addremove: only query dirstate once per path
Previously the addremove code queried the dirstate 4 times per path. Now it
only does so once. On a large repo this brings addremove from 9.5 seconds
to 8.35 seconds (12%).
author | Durham Goode <durham@fb.com> |
---|---|
date | Mon, 04 Feb 2013 14:01:40 -0800 |
parents | 9409aeaafdc1 |
children | 52305554fd6e |
line wrap: on
line source
<div> <a class="title" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"><span class="age">{date|rfc822date}</span>{desc|strip|firstline|escape|nonempty}<span class="logtags"> {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a> </div> <div class="title_text"> <div class="log_link"> <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a><br/> </div> <i>{author|obfuscate} [{date|rfc822date}] rev {rev}</i><br/> </div> <div class="log_body"> {desc|strip|escape|addbreaks|nonempty} <br/> <br/> </div>