view tests/testlib/topic_setup.sh @ 2099:47017b3086d4

README: more update to prepare for pypi upload * mention the evolve.serveronly extension, * remove help related to topic into a different README file.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Mon, 13 Mar 2017 23:28:57 -0700
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