docs/tutorial/testlib/topic_setup.sh
author Joerg Sonnenberger <joerg@bec.de>
Tue, 05 May 2020 20:25:33 +0200
changeset 5335 3847dedd12d7
parent 3376 aad37ffd7d58
permissions -rw-r--r--
changelog: adjust The changes only apply to newly created sqlite database. There are code pathes that drop existing ones, but that's a more complicated condition.

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