Mercurial > hg
view mercurial/templates/spartan/filelog.tmpl @ 11790:ba9957bcfb7c
store: skip decodir check if path does not contain '.hg/'
The three replace calls are slower than this simple __contains__,
and anyway we should not have this many paths ending with .i, .d, or .hg
compared to the normal, un-encoded other paths.
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Thu, 12 Aug 2010 16:45:47 +0900 |
parents | 8d5de52431f2 |
children | d664547ef540 |
line wrap: on
line source
{header} <title>{repo|escape}: {file|escape} history</title> <link rel="alternate" type="application/atom+xml" href="{url}atom-log/tip/{file|urlescape}" title="Atom feed for {repo|escape}:{file}"> <link rel="alternate" type="application/rss+xml" href="{url}rss-log/tip/{file|urlescape}" title="RSS feed for {repo|escape}:{file}"> </head> <body> <div class="buttons"> <a href="{url}log{sessionvars%urlparameter}">changelog</a> <a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> <a href="{url}graph{sessionvars%urlparameter}">graph</a> <a href="{url}tags{sessionvars%urlparameter}">tags</a> <a href="{url}branches{sessionvars%urlparameter}">branches</a> <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> <a type="application/rss+xml" href="{url}rss-log/tip/{file|urlescape}">rss</a> <a type="application/atom+xml" href="{url}atom-log/tip/{file|urlescape}" title="Atom feed for {repo|escape}:{file}">atom</a> </div> <h2>{file|escape} revision history</h2> <p>navigate: <small class="navigate">{nav%filenav}</small></p> {entries%filelogentry} {footer}