tests/testlib
author Pierre-Yves David <pierre-yves.david@fb.com>
Sun, 13 Mar 2016 12:29:43 +0000
changeset 1892 b1fadc089b82
parent 1840 2321fd2ed56e
child 1901 85390446f8c1
permissions -rw-r--r--
update: change default update destination to take topic in account When within a branch update to ngtip(branch). When within a topic update to the top topic.

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