mercurial/templates/spartan/changeset.tmpl
author Anton Shestakov <av6@dwimlabs.net>
Sun, 19 Nov 2017 14:02:50 +0800
changeset 35094 38fe3fe4bbb6
parent 35089 69ea10d5b00c
child 35131 f38c91c74294
permissions -rw-r--r--
hgweb: show instabilities of a commit In paper, coal, gitweb and monoblue a new "tag" (or multiple, if there are many instabilities) is added to the same line that has phase, branch, etc of a changeset; in gitweb and monoblue this element has a light red background, in paper and coal the element is black and underlined. In spartan theme instabilities are shown on a separate line. While test-obsolete.t uses first(phasedivergent()) revset to pick a changeset to test, that particular changeset is also an orphan, so two different instability tags are displayed.

{header}
<title>{repo|escape}: changeset {node|short}</title>
</head>
<body>

<div class="buttons">
<a href="{url|urlescape}log/{symrev}{sessionvars%urlparameter}">changelog</a>
<a href="{url|urlescape}shortlog/{symrev}{sessionvars%urlparameter}">shortlog</a>
<a href="{url|urlescape}graph/{symrev}{sessionvars%urlparameter}">graph</a>
<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a>
<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a>
<a href="{url|urlescape}file/{symrev}{sessionvars%urlparameter}">files</a>
<a href="{url|urlescape}raw-rev/{symrev}">raw</a>
{archives%archiveentry}
<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a>
</div>

<h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / changeset: {desc|strip|escape|firstline|nonempty}</h2>

<table id="changesetEntry">
<tr>
 <th class="changeset">changeset {rev}:</th>
 <td class="changeset"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
</tr>
{ifeq(count(parent), '2', parent%changesetparentdiff, parent%changesetparent)}
{child%changesetchild}
{changesettag}
<tr>
 <th class="author">author:</th>
 <td class="author">{author|obfuscate}</td>
</tr>
<tr>
 <th class="date">date:</th>
 <td class="date age">{date|rfc822date}</td>
</tr>
{ifeq(phase, 'public', '', '<tr>
 <th class="phase">phase:</th>
 <td class="phase">{phase|escape}</td>
</tr>')}
{if(obsolete, '<tr>
 <th class="obsolete">obsolete:</th>
 <td class="obsolete">yes</td>
</tr>')}
{ifeq(count(instabilities), '0', '', '<tr>
 <th class="instabilities">instabilities:</th>
 <td class="instabilities">{instabilities%"{name} "|escape}</td>
</tr>')}
<tr>
 <th class="files">files:</th>
 <td class="files">{files}</td>
</tr>
<tr>
 <th class="description">description:</th>
 <td class="description">{desc|strip|escape|websub|addbreaks|nonempty}</td>
</tr>
</table>

<div id="changesetDiff">
{diff}
</div>

{footer}