docs/tutorial/testlib/topic_setup.sh
author Sushil khanchi <sushilkhanchi97@gmail.com>
Tue, 02 Jul 2019 21:00:46 +0530
branchstable
changeset 4701 1b5da965d72a
parent 3376 aad37ffd7d58
permissions -rw-r--r--
prune: add tests to demonstrate issue6137 Here we can see that prune updates off to the parent revision even when the pruned revision wasn't related with the working directory parent. A follow-up patch will fix this.

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