view tests/testlib/topic_setup.sh @ 5480:9242d0b5f74d stable

split: compatibility with cmdutil.revert() without parents argument `assert` is here because I'm not sure if this is enough, and we might not have tests that fail this specific assert.
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 21 Aug 2020 23:04:03 +0800
parents fa2deeb5dd03
children 044ce00dfa88
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