tests/testlib
author Pierre-Yves David <pierre-yves.david@fb.com>
Wed, 30 Mar 2016 22:05:49 -0700
changeset 1948 54810b543bf4
parent 1901 85390446f8c1
permissions -rw-r--r--
patch: move setup of import/export logic into a function The function is now called during uisetup.

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