tests/testlib
author Augie Fackler <augie@google.com>
Wed, 10 Jun 2015 14:59:05 -0400
changeset 1840 2321fd2ed56e
parent 1839 1bc5e62fc0c7
child 1901 85390446f8c1
permissions -rw-r--r--
testlib: enable rebase and obsolete for easier testing

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