Mercurial > evolve
view tests/testlib/docgraph_setup.sh @ 4917:d1d8e97d32af
obslog: make changeset available to templater
obslog templating currently has very limited support for templating
the precursor changeset (when available). The only available keywords
are {node}, {rev}, and {shortdescription}. This patch makes the entire
changeset available to the templater by passing it to
formatter.context(). That function has been available since Mercurial
4.2.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 04 Nov 2019 14:31:08 -0800 |
parents | ef361938dfa1 |
children |
line wrap: on
line source
. $TESTDIR/testlib/pythonpath.sh cat >> $HGRCPATH << EOF [extensions] docgraph= EOF