mercurial/templates/json/graph.tmpl
author Yuya Nishihara <yuya@tcha.org>
Fri, 16 Mar 2018 21:24:12 +0900
changeset 36989 de117f579431
parent 35389 b963750b125f
permissions -rw-r--r--
templater: factor out helper that renders named template as string This is quite common in non-web templating, and **kwargs expansion is annoying because of the unicode-ness of Python3.

\{
  "node": {node|json},
  "changeset_count": {changesets|json},
  "changesets": [{join(nodes%graphentry, ", ")}]
}