tests/testlib
author Pierre-Yves David <pierre-yves.david@fb.com>
Wed, 30 Mar 2016 03:15:47 -0700
changeset 1939 4268fdd11b74
parent 1901 85390446f8c1
permissions -rw-r--r--
destination: add a ui argument to 'setupdest' This is a gratuitous change for consistency.

#!/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))/hgext3rd/topic" >> $HGRCPATH