mercurial/templates/paper/shortlogentry.tmpl
author Yuya Nishihara <yuya@tcha.org>
Sun, 09 Aug 2015 16:06:36 +0900
branchstable
changeset 25995 4f703dcc626f
parent 25108 09ec4220a839
child 35087 9acc0360ff67
permissions -rw-r--r--
revset: prevent crash caused by empty group expression while optimizing "and" An empty group expression "()" generates None in AST, so the optimizer have to test it before destructuring a tuple. The error message, "missing argument", is somewhat obscure, but it should be better than crash.

 <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>
   {inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}{bookmarks%changelogtag}
  </td>
 </tr>