tests/testlib
author Pierre-Yves David <pierre-yves.david@fb.com>
Thu, 08 Oct 2015 21:09:47 -0700
changeset 1869 995617c7f2fc
parent 1840 2321fd2ed56e
child 1901 85390446f8c1
permissions -rw-r--r--
template: test that topic is accessible through template This comes free with the namespace feature but it is good to have.

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