docs/tutorial/testlib/topic_setup.sh
author Martin von Zweigbergk <martinvonz@google.com>
Thu, 19 Dec 2019 22:31:13 -0800
changeset 5019 967e9a87e82d
parent 3376 aad37ffd7d58
permissions -rw-r--r--
cleanup: replace .parents()[0] by .p1()

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