Mercurial > hg
view templates/fileannotate.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 | 03cb6bf43a9b |
children | 46b19175fec6 |
line wrap: on
line source
#header# <title>#repo|escape#: #file|escape# annotate</title> </head> <body> <div class="buttons"> <a href="?cl=#rev#">changelog</a> <a href="?tags=">tags</a> <a href="?cs=#node|short#">changeset</a> <a href="?mf=#manifest|short#;path=#path|urlescape#">manifest</a> <a href="?f=#filenode|short#;file=#file|urlescape#">file</a> <a href="?fl=#filenode|short#;file=#file|urlescape#">revisions</a> <a href="?fa=#filenode|short#;file=#file|urlescape#;style=raw">raw</a> </div> <h2>Annotate #file|escape#</h2> <table> <tr> <td class="metatag">changeset #rev#:</td> <td><a href="?cs=#node|short#">#node|short#</a></td></tr> #rename%filerename# #parent%fileannotateparent# #child%fileannotatechild# <tr> <td class="metatag">author:</td> <td>#author|obfuscate#</td></tr> <tr> <td class="metatag">date:</td> <td>#date|date# (#date|age# ago)</td></tr> <tr> <td class="metatag">permissions:</td> <td>#permissions|permissions#</td></tr> </table> <br/> <table cellspacing="0" cellpadding="0"> #annotate%annotateline# </table> #footer#