view mercurial/templates/paper/filelogentry.tmpl @ 39301:5763216ba311

transaction: remember original len(repo) instead of tracking added revs (API) It's silly to keep updating xrange(len(changelog), len(changelog) + 1) for each added revision. Instead, let's simply remember the first revision to be added. The test output slightly changed as the branch cache is also warmed up by stream clone, which seems more consistent. .. api:: ``tr.changes['revs']`` is replaced by ``tr.changes['origrepolen']`` which is the first revision number to be added.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 25 Aug 2018 15:28:48 +0900
parents 9acc0360ff67
children
line wrap: on
line source

 <tr>
  <td class="age">{date|rfc822date}</td>
  <td class="author">{author|person}</td>
  <td class="description">
   <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>
   {alltags}{rename%filelogrename}
  </td>
 </tr>
 {if(patch, '<tr><td colspan="3">{diff}</td></tr>')}