docs/tutorial/testlib/topic_setup.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 02 Mar 2018 16:30:48 -0500
changeset 3508 0b3ab8b6f39d
parent 3376 aad37ffd7d58
permissions -rw-r--r--
compat: only wrap wireprotoserver function if they exist Older version does not need the wrapping so everything should be fine.

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