tests/testlib/topic_setup.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 05 Jan 2018 04:26:59 +0100
changeset 3368 7310f3ef6dee
parent 2828 fa2deeb5dd03
permissions -rw-r--r--
caches: add a 'auto' option for obshashrange cache warming This option will only warm the cache when used as a server.

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