tests/testlib/topic_setup.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Sat, 01 Sep 2018 21:47:00 +0200
changeset 4063 00c65abf99cd
parent 2828 fa2deeb5dd03
permissions -rw-r--r--
topic-revset: strictly read string Making a clear distinction between string and symbol passed to topic is important when it comes to empty topic. Filtering an empty topic name is harmless. Searching a non existent revision is not.

#!/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