tests/testlib/topic_setup.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Sat, 10 Nov 2018 16:01:31 +0100
changeset 4239 7e274734cc2c
parent 2828 fa2deeb5dd03
permissions -rw-r--r--
next: use the `hint` argument of bail if changed The argument is availabel since Mercurial 4.1. So let's use it.

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