Mercurial > evolve
view tests/testlib/topic_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 | fa2deeb5dd03 |
children | 044ce00dfa88 |
line wrap: on
line source
#!/bin/sh . $TESTDIR/testlib/pythonpath.sh # This file holds logic that is used in many tests. # It can be called in a test like this: # $ . "$TESTDIR/testlib/topic_setup.sh" # Enable obsolete markers and enable extensions cat >> $HGRCPATH << EOF [experimental] evolution=createmarkers,exchange [extensions] rebase= topic= EOF