tests/testlib/topic_setup.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Sat, 10 Nov 2018 15:59:16 +0100
changeset 4238 18648e1aded0
parent 2828 fa2deeb5dd03
permissions -rw-r--r--
prev: 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