Mercurial > hg > mercurial-crew-with-dirclash
view templates/gitweb/changelogentry.tmpl @ 5327:f46ab9cacd3c
dirstate: speed up read and write
read:
- single call to len(st)
- fewer assignments for position tracking
- don't split apart tuple from unpack
- use a literal for the unpack spec
write:
- localize variables and functions
- avoid copied function call
- use % for string concatenation
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 24 Sep 2007 12:41:54 -0500 |
parents | 4272ae760bb1 |
children |
line wrap: on
line source
<div> <a class="title" href="{url}rev/#node|short#{sessionvars%urlparameter}"><span class="age">#date|age# ago</span>#desc|strip|firstline|escape#<span class="logtags"> {branches%branchtag}{tags%tagtag}</span></a> </div> <div class="title_text"> <div class="log_link"> <a href="{url}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# <br/> <br/> </div>