Mercurial > hg
view mercurial/templates/spartan/filediff.tmpl @ 20445:507261c0914f
revset: added lazyset implementation to branch revset
Performance Benchmarking:
$ time hg log -l1 -qr "branch(default)"
0:9117c6561b0b
real 0m3.366s
user 0m3.217s
sys 0m0.095s
$ time ./hg log -l1 -qr "branch(default)"
0:9117c6561b0b
real 0m0.389s
user 0m0.199s
sys 0m0.061s
author | Lucas Moscovicz <lmoscovicz@fb.com> |
---|---|
date | Wed, 05 Feb 2014 16:12:03 -0800 |
parents | 9409aeaafdc1 |
children | 1cac419ab831 |
line wrap: on
line source
{header} <title>{repo|escape}: {file|escape} diff</title> </head> <body> <div class="buttons"> <a href="{url|urlescape}log/{rev}{sessionvars%urlparameter}">changelog</a> <a href="{url|urlescape}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a> <a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> <a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> <a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> <a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> <a href="{url|urlescape}raw-diff/{node|short}/{file|urlescape}">raw</a> <a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> </div> <h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / {file|escape}</h2> <table id="filediffEntry"> <tr> <th class="revision">revision {rev}:</th> <td class="revision"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> </tr> {parent%filediffparent} {child%filediffchild} </table> <div id="fileDiff"> {diff} </div> {footer}