Mercurial > hg
view mercurial/templates/spartan/filelogentry.tmpl @ 34031:52bd006b4f49
filemerge: extract _maketemp and _makebackup
These functions will be modified by in-memory merge, so let's extract them first and add some comments.
This also shortens `_filemerge` a bit.
Differential Revision: https://phab.mercurial-scm.org/D388
author | Phil Cohen <phillco@fb.com> |
---|---|
date | Thu, 31 Aug 2017 11:05:19 -0700 |
parents | 8b79fdaa9f85 |
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"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></th> </tr> <tr> <th class="revision">revision {filerev}:</th> <td class="node"> <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">(diff)</a> <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">(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|rfc822date}</td> </tr> </table>