Mercurial > hg > mercurial-crew-with-dirclash
view templates/filelogentry.tmpl @ 809:d0fb9efa2b2d
Fix performance regression in addremove command.
When I rewrote addremove, I lazily put a call to repo.changes in,
which was unnecessary and slow. This is a new rewrite, preserving the
file name behaviour, but replacing the call to repo.changes with a walk,
which is much cheaper, and avoids calls to os.stat on all but files that
have probably been deleted.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Fri, 29 Jul 2005 08:42:28 -0800 |
parents | e5d769afd3ef |
children | 17703aa4491e |
line wrap: on
line source
<table class="parity#parity#" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="right" width="15%"><b>#date|age# ago: </b></td> <td><b><a href="?cmd=changeset;node=#node#">#desc|firstline|escape#</a></b></td></tr> <tr> <td align="right">revision #filerev#: </td> <td><a href="?cmd=file;file=#file#;filenode=#filenode#">#filenode|short#</a> <a href="?cmd=filediff;file=#file#;node=#node#">(diff)</a> <a href="?cmd=annotate;file=#file#;filenode=#filenode#">(annotate)</a> </td></tr> <tr> <td align="right">author: </td> <td>#author|obfuscate#</td></tr> <tr> <td align="right">date: </td> <td>#date|date# (#date|age# ago)</td></tr> </table>