view templates/spartan/changelogentry.tmpl @ 8174:29bc5d18714a

hg: allow hg.parseurl(url, None) In many places hg.parseurl is called with a url and "opts.get('rev')", suggesting the second, optional argument can be None. Because opts['rev'] usually defaults to [] this never happens in practice. However, extensions don't necessarily behave the same, but do copy this pattern. Also, include wider hg.parseurl tests, beyond a demonstration of the problem.
author Martijn Pieters <mj@zopatista.com>
date Fri, 24 Apr 2009 18:17:42 +0200
parents fecfe4392e94
children 89bc3946c8f3
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#{sessionvars%urlparameter}">#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#{sessionvars%urlparameter}">files</a>:</th>
  <td class="files">#files#</td>
 </tr>
</table>