docs/tutorial/testlib/topic_setup.sh
author Pulkit Goyal <7895pulkit@gmail.com>
Mon, 22 Jan 2018 17:29:56 +0530
changeset 3477 713e26a647f5
parent 3376 aad37ffd7d58
permissions -rw-r--r--
evolve: create a state object in all case Let's create a state object even when we are not in the continue mode. This will help us passing the state object to rest of the functions.

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