docs/tutorial/testlib/topic_setup.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 02 Aug 2018 04:11:54 +0200
branchstable
changeset 3927 b4589df6d3aa
parent 3376 aad37ffd7d58
permissions -rw-r--r--
compat: make compatible call to ui.edit for hg <= 4.3 This is similar to what is already happening elsewhere.

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