view tests/testlib/topic_setup.sh @ 6866:cfad86381358 stable

tests: use testrepohg in test-check-flake8.t testrepohg is required if you want it to read ~/.hgrc. Important if the CI user is not root, but needs to trust root hgrc files.
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 02 Aug 2024 16:29:10 +0400
parents 044ce00dfa88
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=true
evolution.exchange=true

[extensions]
rebase=
topic=
EOF