docs/tutorial/testlib/topic_setup.sh
author Anton Shestakov <av6@dwimlabs.net>
Wed, 11 Mar 2020 18:09:11 +0700
changeset 5302 f5d9b5771b45
parent 3376 aad37ffd7d58
permissions -rw-r--r--
obshistory: rename _debugobshistorydisplaymarker() to displaymarkers() Apart from the obvious change, the function now can show multiple markers, not just one.

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