Mercurial > hg
view templates/changelogentry.tmpl @ 3336:e44eadc92ec4
context: check self.__dict__ instead of using hasattr
hasattr implicitly calls getattr, instantiating the field it is
checking for.
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Wed, 11 Oct 2006 13:34:12 -0700 |
parents | 46188b9528ca |
children | ce8f31e0b3b8 |
line wrap: on
line source
<table class="logEntry parity#parity#"> <tr> <th class="age">#date|age# ago:</th> <th class="firstline">#desc|strip|firstline|escape#</th> </tr> <tr> <th class="revision">changeset #rev#:</th> <td class="node"><a href="#url#rev/#node|short#{getentries}">#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|date#</td> </tr> <tr> <th class="files"><a href="#url#file/#node|short#{getentries}">files</a>:</th> <td class="files">#files#</td> </tr> </table>