##// END OF EJS Templates
patch: better handling of sequence of offset patch hunks (issue1941)...
patch: better handling of sequence of offset patch hunks (issue1941) The built-in patch implementation applied the hunks to the wrong lines of the file if the file in the repo has been modified to skew the patch line numbers and the file contains repetitive sequences of lines.

File last commit:

r9721:1d75c683 default
r10135:9a4034b6 stable
Show More
fileannotate.tmpl
48 lines | 1.4 KiB | application/x-cheetah | CheetahLexer
Dirkjan Ochtman
spartan: use newer template syntax everywhere
r8431 {header}
<title>{repo|escape}: {file|escape} annotate</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}{path|urlescape}{sessionvars%urlparameter}">files</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}raw-annotate/{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>Annotate {file|escape}</h2>
Matt Mackall
hgweb: move old style to spartan/
r7338
<table>
<tr>
Dirkjan Ochtman
spartan: use newer template syntax everywhere
r8431 <td class="metatag">changeset {rev}:</td>
<td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>
{parent%fileannotateparent}
{child%fileannotatechild}
Matt Mackall
hgweb: move old style to spartan/
r7338 <tr>
<td class="metatag">author:</td>
Dirkjan Ochtman
spartan: use newer template syntax everywhere
r8431 <td>{author|obfuscate}</td></tr>
Matt Mackall
hgweb: move old style to spartan/
r7338 <tr>
<td class="metatag">date:</td>
Dirkjan Ochtman
templater: put 'ago' inside the age template filter
r9721 <td>{date|date} ({date|age})</td>
Matt Mackall
hgweb: move old style to spartan/
r7338 </tr>
<tr>
<td class="metatag">permissions:</td>
Dirkjan Ochtman
spartan: use newer template syntax everywhere
r8431 <td>{permissions|permissions}</td>
Matt Mackall
hgweb: move old style to spartan/
r7338 </tr>
<tr>
<td class="metatag">description:</td>
Rocco Rutte
hgweb: use "nonempty" filter in templates for the changelog message...
r8235 <td>{desc|strip|escape|addbreaks|nonempty}</td>
Matt Mackall
hgweb: move old style to spartan/
r7338 </tr>
</table>
<table cellspacing="0" cellpadding="0">
Dirkjan Ochtman
spartan: use newer template syntax everywhere
r8431 {annotate%annotateline}
Matt Mackall
hgweb: move old style to spartan/
r7338 </table>
Dirkjan Ochtman
spartan: use newer template syntax everywhere
r8431 {footer}