view tests/testlib/topic_setup.sh @ 2828:fa2deeb5dd03 stable

test: setup python path for topic tests This make thing simpler and clearer.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 09 Aug 2017 12:52:06 +0200
parents db617700d318
children 044ce00dfa88
line wrap: on
line source

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