tests/testlib/topic_setup.sh
author Pulkit Goyal <7895pulkit@gmail.com>
Mon, 25 Sep 2017 03:04:42 +0530
changeset 2991 f4956eb3a456
parent 2828 fa2deeb5dd03
permissions -rw-r--r--
topics: improve the function signature by accepting arguments as **opts

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