tests/testlib/topic_setup.sh
author Pulkit Goyal <7895pulkit@gmail.com>
Thu, 29 Jun 2017 01:58:26 +0530
changeset 2681 aa4db71a6224
parent 2045 db617700d318
child 2828 fa2deeb5dd03
permissions -rw-r--r--
topics: return a parse error if stack() revset is passed with argument

#!/bin/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=
EOF
echo "topic=$(echo $(dirname $TESTDIR))/hgext3rd/topic" >> $HGRCPATH