Mercurial > hg
view templates/filelogentry.tmpl @ 2309:b2f37c7026ca
remove: rewrite to be ~400x faster, bit more friendly
old remove code called localrepo.changes for each file.
was very expensive:
$ hg --time rm arch>/dev/null
Time: real 1066.120 secs (user 1014.450+0.000 sys 18.090+0.000)
new code, same files:
$ hg --time rm arch>/dev/null
Time: real 2.770 secs (user 2.190+0.000 sys 0.580+0.000)
also mention "-f" if not removing files. also allow "-f" to forget
added files.
make test a bit better.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Thu, 18 May 2006 13:48:12 -0700 |
parents | 4990b62fd0a6 |
children | 79fd7a92f3e2 |
line wrap: on
line source
<table class="logEntry parity#parity#"> <tr> <th class="age">#date|age# ago:</th> <th class="firstline"><a href="?cs=#node|short#">#desc|strip|firstline|escape#</a></th> </tr> <tr> <th class="revision">revision #filerev#:</td> <td class="node"> <a href="?f=#filenode|short#;file=#file|urlescape#">#filenode|short#</a> <a href="?fd=#node|short#;file=#file|urlescape#">(diff)</a> <a href="?fa=#filenode|short#;file=#file|urlescape#">(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|date#</td> </tr> </table>