##// 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
filerevision.tmpl
73 lines | 2.2 KiB | application/x-cheetah | CheetahLexer
Dirkjan Ochtman
coal/paper: move actual templates from coal to paper
r7411 {header}
<title>{repo|escape}: {node|short} {file|escape}</title>
</head>
<body>
<div class="container">
<div class="menu">
<div class="logo">
Dirkjan Ochtman
change wiki/bts URLs to point to new hostname
r8936 <a href="http://mercurial.selenic.com/">
Benoit Allard
coal/paper: switch to XHTML 1.1
r7725 <img src="{staticurl}hglogo.png" alt="mercurial" /></a>
Dirkjan Ochtman
coal/paper: move actual templates from coal to paper
r7411 </div>
<ul>
<li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
<li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
Sune Foldager
paper/coal: add branches page
r8353 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
Dirkjan Ochtman
coal/paper: move actual templates from coal to paper
r7411 </ul>
<ul>
<li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
<li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
</ul>
<ul>
<li class="active">file</li>
Dirkjan Ochtman
coal/paper: show link to latest file revision (issue1344)
r9720 <li><a href="{url}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a></li>
Dirkjan Ochtman
coal/paper: move actual templates from coal to paper
r7411 <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li>
<li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li>
<li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li>
<li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li>
</ul>
</div>
<div class="main">
<h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
<h3>view {file|escape} @ {rev}:{node|short}</h3>
<form class="search" action="{url}log">
{sessionvars%hiddenformentry}
Benoit Allard
coal/paper: switch to XHTML 1.1
r7725 <p><input name="rev" id="search1" type="text" size="30" /></p>
<div id="hint">find changesets by author, revision,
files, or words in the commit message</div>
Dirkjan Ochtman
coal/paper: move actual templates from coal to paper
r7411 </form>
Rocco Rutte
hgweb: use "nonempty" filter in templates for the changelog message...
r8235 <div class="description">{desc|strip|escape|addbreaks|nonempty}</div>
Dirkjan Ochtman
coal/paper: move actual templates from coal to paper
r7411
<table id="changesetEntry">
<tr>
<th class="author">author</th>
<td class="author">{author|obfuscate}</td>
</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>
Dirkjan Ochtman
coal/paper: move actual templates from coal to paper
r7411 </tr>
<tr>
<th class="author">parents</th>
<td class="author">{parent%filerevparent}</td>
</tr>
<tr>
<th class="author">children</th>
<td class="author">{child%filerevchild}</td>
</tr>
{changesettag}
</table>
<div class="overflow">
<div class="sourcefirst"> line source</div>
{text%fileline}
<div class="sourcelast"></div>
</div>
</div>
</div>
{footer}