tests/testlib
author Pierre-Yves David <pierre-yves.david@fb.com>
Wed, 16 Mar 2016 12:14:20 -0700 (2016-03-16)
changeset 1900 27ea12c05e99
parent 1840 2321fd2ed56e
child 1901 85390446f8c1
permissions -rw-r--r--
destination: fix 'hg pull --rebase' I'm not sure why sometime functions does not have func_default but this is easy to fix. I've added a test to catch such stuff it in the future.
#!/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