view tests/testlib/topic_setup.sh @ 2539:69292318c545 stable

readme: merge 6.2.2 and 6.3.0 changelog 6.2.2 never happened.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 01 Jun 2017 02:31:31 +0200
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