tests/testlib/topic_setup.sh
author Matt Harbison <matt_harbison@yahoo.com>
Sun, 21 Jan 2018 16:55:02 -0500
branchstable
changeset 3486 bee9fee8f36b
parent 2828 fa2deeb5dd03
permissions -rw-r--r--
test: explicitly run HGEDITOR shell command with `sh` Otherwise Windows pops up the "What program do you want to use to open this?" dialog.

#!/bin/sh
. $TESTDIR/testlib/pythonpath.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=
topic=
EOF