Mercurial > hg
view templates/filelogentry.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"><a href="#url#rev/#node|short#{getentries}">#desc|strip|firstline|escape#</a></th> </tr> <tr> <th class="revision">revision #filerev#:</td> <td class="node"> <a href="#url#file/#node|short#/#file|urlescape#{getentries}">#node|short#</a> <a href="#url#diff/#node|short#/#file|urlescape#{getentries}">(diff)</a> <a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">(annotate)</a> </td> </tr> #rename%filelogrename# <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> </table>