templates/filelogentry.tmpl
author Martin Geisler <mg@daimi.au.dk>
Sat, 29 Mar 2008 23:05:45 +0100
changeset 6911 1a14608bdeff
parent 3363 ce8f31e0b3b8
permissions -rw-r--r--
Begin commit messages with two empty lines. This makes editors like Emacs wrap the commit message correctly. With no empty line between the commit message and the 'HG:' lines, the 'HG:' lines would be wrapped as if they belonged to the commit message and so lose their significance to Mercurial. This makes no difference to what is stored by the commit -- whitespace was already stripped from the beginning and end of commit messages.

<table class="logEntry parity#parity#">
 <tr>
  <th class="age">#date|age# ago:</th>
  <th class="firstline"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#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#{sessionvars%urlparameter}">#node|short#</a>
   <a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">(diff)</a>
   <a href="#url#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|date#</td>
 </tr>
</table>