view mercurial/templates/monoblue/changelogentry.tmpl @ 26312:60558319ce72

ui: avoid mutable default arguments I almost introduced a bug around this code by accidentally mutating a default argument. There's no reason for these to exist. It is OK to not assign {} to environ in ui.system because util.system knows how to deal with that.
author Siddharth Agarwal <sid0@fb.com>
date Tue, 22 Sep 2015 16:56:34 -0700
parents 52305554fd6e
children f9b23fa35cb3
line wrap: on
line source

<h3 class="changelog"><a class="title" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}<span class="logtags"> {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a></h3>
<ul class="changelog-entry">
    <li class="age">{date|rfc822date}</li>
    <li>by <span class="name">{author|obfuscate}</span> <span class="revdate">[{date|rfc822date}] rev {rev}</span></li>
    <li class="description">{desc|strip|escape|websub|addbreaks|nonempty}</li>
</ul>