tests/testlib
author Pierre-Yves David <pierre-yves.david@fb.com>
Mon, 14 Mar 2016 00:12:22 +0000
changeset 1888 dfaf0de6f4d8
parent 1840 2321fd2ed56e
child 1901 85390446f8c1
permissions -rw-r--r--
topicmap: move the monkey patching into a context manager There is a couple of other place doing branchmap/topicmap update (of the served set), we'll have to set the monkey patching for them. This changeset is just doing the move to a context manager to make sure it is correct.

#!/bin/sh

# This file holds logic that is used in many tests.
# It can be called in a test like this:
#  $ . "$TESTDIR/testlib"

# Enable obsolete markers and enable extensions
cat >> $HGRCPATH << EOF
[experimental]
evolution=createmarkers,exchange

[extensions]
rebase=
EOF
echo "topic=$(echo $(dirname $TESTDIR))/src/topic" >> $HGRCPATH