tests/testlib/topic_setup.sh
author Martin von Zweigbergk <martinvonz@google.com>
Wed, 30 Jan 2019 10:03:00 -0800
changeset 4393 159a4a6ded0b
parent 2828 fa2deeb5dd03
permissions -rw-r--r--
prompts: use 1-indexing in revselectionprompt() The consumer is generally a human, not a computer. I've made the mistake of entering "1" instead of "0" a few times myself.

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