tests/testlib
author Pierre-Yves David <pierre-yves.david@fb.com>
Wed, 21 Oct 2015 01:12:32 +0200
changeset 1870 8dd5200b4086
parent 1840 2321fd2ed56e
child 1901 85390446f8c1
permissions -rw-r--r--
topic: introduce a 'ngtip' concept The concept is to be massively used in naming and default destination logic. The name is horrible so that people find a better one.

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