tests/testlib/topic_setup.sh
author Anton Shestakov <av6@dwimlabs.net>
Fri, 17 May 2019 17:42:06 +0800
changeset 4655 bb0a5beb0ad8
parent 2828 fa2deeb5dd03
permissions -rw-r--r--
stack: remove unnecessary prefix from stack output with non-default --template "index" template keyword already exists (the current iteration of the loop), so "stack_index" it is. It follows the same convention as other template keywords, such as "files_added", "line_number", etc.

#!/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