view tests/testlib/topic_setup.sh @ 3645:a2d06eba843f

obscache: use self instead of repo in obscacherepo.updatecaches() Referring to repo here was somehow preventing it from being garbage-collected (important in hgweb, where currently every request gets a new repo).
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 06 Apr 2018 14:26:24 +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