##// END OF EJS Templates
paper: preserve whitespace on description instead of adding breaks...
paper: preserve whitespace on description instead of adding breaks This preserves the indentation of text in the changeset description. This is useful for example for descriptions containing command line use case examples like: $ hg -q heads 13934:648a834cca14 13912:71ea5b2b9517 Without this patch, such space-char indented text was just left aligned.

File last commit:

r13934:ebe1ddbb default
r13934:ebe1ddbb default
Show More
changeset.tmpl
75 lines | 2.0 KiB | application/x-cheetah | CheetahLexer
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 {header}
<title>{repo|escape}: {node|short}</title>
</head>
<body>
<div class="container">
<div class="menu">
<div class="logo">
<a href="http://mercurial.selenic.com/">
<img src="{staticurl}hglogo.png" alt="mercurial" /></a>
</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>
Alexander Solovyov
hgweb: add separate page with bookmarks listing
r13597 <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li>
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
</ul>
<ul>
<li class="active">changeset</li>
<li><a href="{url}raw-rev/{node|short}{sessionvars%urlparameter}">raw</a></li>
<li><a href="{url}file/{node|short}{sessionvars%urlparameter}">browse</a></li>
</ul>
<ul>
{archives%archiveentry}
</ul>
Augie Fackler
web: add a help view for getting hg help output
r12666 <ul>
<li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
</ul>
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 </div>
<div class="main">
<h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
Alexander Solovyov
hgweb: add display of bookmarks for changelog and changeset
r13596 <h3>changeset {rev}:{node|short} {changesetbranch%changelogbranchname} {changesettag} {changesetbookmark}</h3>
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999
<form class="search" action="{url}log">
{sessionvars%hiddenformentry}
<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>
</form>
Adrian Buehlmann
paper: preserve whitespace on description instead of adding breaks...
r13934 <div class="description">{desc|strip|escape|nonempty}</div>
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999
<table id="changesetEntry">
<tr>
<th class="author">author</th>
<td class="author">{author|obfuscate}</td>
</tr>
<tr>
<th class="date">date</th>
<td class="date">{date|date} ({date|age})</td></tr>
<tr>
<th class="author">parents</th>
<td class="author">{parent%changesetparent}</td>
</tr>
<tr>
<th class="author">children</th>
<td class="author">{child%changesetchild}</td>
</tr>
<tr>
<th class="files">files</th>
<td class="files">{files}</td>
</tr>
</table>
<div class="overflow">
<div class="sourcefirst"> line diff</div>
{diff}
</div>
</div>
</div>
{footer}