Mercurial > hg
view mercurial/templates/spartan/changelogentry.tmpl @ 36195:513d268eddfe
hgweb: show users recorded in obsolescence markers
It's useful to see who obsoleted a commit, because it's not always done by its
author (hg-committed is a good example, because people rebase stacks of commits
made by various people).
Usernames are obfuscated, but look correct (e.g. "test" is
"test").
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Wed, 14 Feb 2018 20:32:32 +0800 |
parents | 1721ce06100a |
children | f3fd4fe0506f |
line wrap: on
line source
<table class="logEntry parity{parity}"> <tr> <th class="label"><span class="age">{date|rfc822date}</span>:</th> <th class="firstline">{desc|strip|firstline|escape|nonempty}</th> </tr> <tr> <th class="revision">changeset {rev}:</th> <td class="node"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> </tr> {parent%changelogparent} {child%changelogchild} {changelogtag} <tr> <th class="author">author:</th> <td class="author">{author|obfuscate}</td> </tr> <tr> <th class="date">date:</th> <td class="date">{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">{succsandmarkers%obsfateentry}</td> </tr>')} {ifeq(count(instabilities), '0', '', '<tr> <th class="instabilities">instabilities:</th> <td class="instabilities">{instabilities%"{instability} "|escape}</td> </tr>')} <tr> <th class="files"><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>:</th> <td class="files">{files}</td> </tr> </table>