tests/testlib
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
Sun, 14 Aug 2016 23:17:09 +0200
changeset 1980 3c4a20244771
parent 1901 85390446f8c1
permissions -rw-r--r--
destination: use the correct abort class for error These errors have been in Mercurial long enough. Having them will make the coming changesets simpler.

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