docs/tutorial/testlib/topic_setup.sh
author Sushil khanchi <sushilkhanchi97@gmail.com>
Sun, 09 Jun 2019 12:07:08 +0530
changeset 4694 b6a7d2594ff3
parent 3376 aad37ffd7d58
permissions -rw-r--r--
evolve: refactor for consistent behavior of evolve when wdp is obsolete This patch make sure that when working directory parent is obsolete `hg evolve` and `hg evolve --all` don't behave differently.

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