tests/testlib
author Matt Mackall <mpm@selenic.com>
Fri, 19 Jun 2015 16:13:16 -0500
changeset 1860 b7b9e5028c2a
parent 1840 2321fd2ed56e
child 1901 85390446f8c1
permissions -rw-r--r--
topics: consistently use empty string instead of None This agrees with repo.currenttopic which uses ''. A subsequent patch is going to provide a context topic method that returns the empty string.

#!/bin/sh

# This file holds logic that is used in many tests.
# It can be called in a test like this:
#  $ . "$TESTDIR/testlib"

# Enable obsolete markers and enable extensions
cat >> $HGRCPATH << EOF
[experimental]
evolution=createmarkers,exchange

[extensions]
rebase=
EOF
echo "topic=$(echo $(dirname $TESTDIR))/src/topic" >> $HGRCPATH