tests/testlib
author Augie Fackler <augie@google.com>
Thu, 18 Jun 2015 15:46:26 -0400
changeset 1856 7d7f5f9e2f8c
parent 1840 2321fd2ed56e
child 1901 85390446f8c1
permissions -rw-r--r--
rewrite: use a lock and transaction as spotted by devel warnings

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