##// END OF EJS Templates
handle file URIs correctly, according to RFC 2396 (issue1153)...
handle file URIs correctly, according to RFC 2396 (issue1153) The new code aims to implement the RFC correctly for file URIs. Previously they were handled incorrectly in several ways, which could cause problem on Windows in particular.

File last commit:

r8431:5c1aabc5 default
r9996:2770d03a stable
Show More
filediff.tmpl
36 lines | 1.1 KiB | application/x-cheetah | CheetahLexer
Dirkjan Ochtman
spartan: use newer template syntax everywhere
r8431 {header}
<title>{repo|escape}: {file|escape} diff</title>
Matt Mackall
hgweb: move old style to spartan/
r7338 </head>
<body>
<div class="buttons">
Dirkjan Ochtman
spartan: use newer template syntax everywhere
r8431 <a href="{url}log/{rev}{sessionvars%urlparameter}">changelog</a>
<a href="{url}shortlog/{rev}{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}rev/{node|short}{sessionvars%urlparameter}">changeset</a>
<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a>
<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a>
<a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a>
<a href="{url}raw-diff/{node|short}/{file|urlescape}">raw</a>
Matt Mackall
hgweb: move old style to spartan/
r7338 </div>
Dirkjan Ochtman
spartan: use newer template syntax everywhere
r8431 <h2>{file|escape}</h2>
Matt Mackall
hgweb: move old style to spartan/
r7338
<table id="filediffEntry">
<tr>
Dirkjan Ochtman
spartan: use newer template syntax everywhere
r8431 <th class="revision">revision {rev}:</th>
<td class="revision"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
Matt Mackall
hgweb: move old style to spartan/
r7338 </tr>
Dirkjan Ochtman
spartan: use newer template syntax everywhere
r8431 {parent%filediffparent}
{child%filediffchild}
Matt Mackall
hgweb: move old style to spartan/
r7338 </table>
<div id="fileDiff">
Dirkjan Ochtman
spartan: use newer template syntax everywhere
r8431 {diff}
Matt Mackall
hgweb: move old style to spartan/
r7338 </div>
Dirkjan Ochtman
spartan: use newer template syntax everywhere
r8431 {footer}
Matt Mackall
hgweb: move old style to spartan/
r7338