mercurial/templates/atom/branchentry.tmpl
author Yuya Nishihara <yuya@tcha.org>
Thu, 02 Jul 2015 22:03:06 +0900
changeset 25739 3dabc9b7494a
parent 18526 9409aeaafdc1
child 29437 6ab3465d9991
permissions -rw-r--r--
changeset_printer: use node.wdirrev to calculate meaningful parentrevs Because we defined the working-directory revision is INT_MAX, it makes sense that "hg log -r 'wdir()'" displays the "parent:" field. This is the same for two revisions that are semantically contiguous but the intermediate revisions are hidden.

 <entry>
  <title>{branch|escape}</title>
  <link rel="alternate" href="{urlbase}{url|urlescape}rev/{node|short}"/>
  <id>{urlbase}{url|urlescape}#branch-{node}</id>
  <updated>{date|rfc3339date}</updated>
  <published>{date|rfc3339date}</published>
  <content type="text"><![CDATA[{branch|strip|escape|addbreaks}]]></content>
 </entry>