view tests/testlib @ 1971:ec4924ea8bc6

topic: make sure we have the 'wlock' when setting topic We where writing the '.hg/topic' file without a lot. That was bad.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Thu, 11 Aug 2016 22:50:58 +0200
parents 85390446f8c1
children
line wrap: on
line source

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