docs/tutorial/testlib/topic_setup.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 12 Oct 2018 14:33:03 +0200
changeset 4160 44133463372f
parent 3376 aad37ffd7d58
permissions -rw-r--r--
next: also use stack shortcut in output when possible This mirror what `hg evolve` is doing since cc3a0b13ae57.

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