view docs/tutorial/testlib/topic_setup.sh @ 6386:9b5660737b52

topic: compatibility for wrapping branchinfo() and _branchinfo() in hg 4.8
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 05 Feb 2023 19:55:48 +0400
parents aad37ffd7d58
children
line wrap: on
line source

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