##// 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
changeset.tmpl
51 lines | 1.3 KiB | application/x-cheetah | CheetahLexer
Dirkjan Ochtman
spartan: use newer template syntax everywhere
r8431 {header}
<title>{repo|escape}: changeset {node|short}</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}file/{node|short}{sessionvars%urlparameter}">files</a>
<a href="{url}raw-rev/{node|short}">raw</a>
{archives%archiveentry}
Matt Mackall
hgweb: move old style to spartan/
r7338 </div>
Dirkjan Ochtman
spartan: use newer template syntax everywhere
r8431 <h2>changeset: {desc|strip|escape|firstline|nonempty}</h2>
Matt Mackall
hgweb: move old style to spartan/
r7338
<table id="changesetEntry">
<tr>
Dirkjan Ochtman
spartan: use newer template syntax everywhere
r8431 <th class="changeset">changeset {rev}:</th>
<td class="changeset"><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%changesetparent}
{child%changesetchild}
{changesettag}
Matt Mackall
hgweb: move old style to spartan/
r7338 <tr>
<th class="author">author:</th>
Dirkjan Ochtman
spartan: use newer template syntax everywhere
r8431 <td class="author">{author|obfuscate}</td>
Matt Mackall
hgweb: move old style to spartan/
r7338 </tr>
<tr>
<th class="date">date:</th>
Dirkjan Ochtman
templater: put 'ago' inside the age template filter
r9721 <td class="date">{date|date} ({date|age})</td>
Matt Mackall
hgweb: move old style to spartan/
r7338 </tr>
<tr>
<th class="files">files:</th>
Dirkjan Ochtman
spartan: use newer template syntax everywhere
r8431 <td class="files">{files}</td>
Matt Mackall
hgweb: move old style to spartan/
r7338 </tr>
<tr>
<th class="description">description:</th>
Dirkjan Ochtman
spartan: use newer template syntax everywhere
r8431 <td class="description">{desc|strip|escape|addbreaks|nonempty}</td>
Matt Mackall
hgweb: move old style to spartan/
r7338 </tr>
</table>
<div id="changesetDiff">
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