tests/testlib
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
Sat, 04 Mar 2017 03:37:32 +0100
changeset 2043 c64300906a32
parent 1901 85390446f8c1
permissions -rw-r--r--
exthelper: move command declaration into the exthelper This is necessary to allow sub module to declare commands too.

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