tests/testlib
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
Thu, 11 Aug 2016 22:50:58 +0200 (2016-08-11)
changeset 1971 ec4924ea8bc6
parent 1901 85390446f8c1
permissions -rw-r--r--
topic: make sure we have the 'wlock' when setting topic We where writing the '.hg/topic' file without a lot. That was bad.
#!/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