docs/tutorial/testlib/topic_setup.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 18 Apr 2019 11:13:49 +0200
branchstable
changeset 4535 8dae14cd076a
parent 3376 aad37ffd7d58
permissions -rw-r--r--
topic: only wrap mergeupdate for repo with topic This helps repository with and without topic to coexist in the same process.

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