view tests/testlib/topic_setup.sh @ 2165:e97e9b0c9711

stablerange: use rangelength in debugstablerange We stop using the building '__len__' this get use closer to be able to use a tuple.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Wed, 22 Mar 2017 18:36:37 +0100
parents db617700d318
children fa2deeb5dd03
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/topic_setup.sh"

# Enable obsolete markers and enable extensions
cat >> $HGRCPATH << EOF
[experimental]
evolution=createmarkers,exchange

[extensions]
rebase=
EOF
echo "topic=$(echo $(dirname $TESTDIR))/hgext3rd/topic" >> $HGRCPATH