Mercurial > hg
view mercurial/templates/spartan/changelogentry.tmpl @ 41618:e834f6f6f221
patch: pass in context objects into diffhunks() (API)
It's a pretty low-level function and having the contexts in
patch.diff() makes future patches easier.
Differential Revision: https://phab.mercurial-scm.org/D5891
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 06 Feb 2019 17:27:43 -0800 |
parents | 7c18798fc24d |
children |
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, succsandmarkers%obsfateentry)} {if(instabilities, whyunstable%whyunstableentry)} <tr> <th class="files"><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>:</th> <td class="files">{files}</td> </tr> </table>