view tests/testlib/topic_setup.sh @ 2720:db3830646e34 stable

tutorial: use rm instead of 'hg rm' for an untracked temporary file
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Sun, 09 Jul 2017 14:20:24 +0300
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