tests/testlib
author Pierre-Yves David <pierre-yves.david@fb.com>
Tue, 15 Mar 2016 17:26:57 +0000
changeset 1903 58cdf061d49a
parent 1901 85390446f8c1
permissions -rw-r--r--
topic: don't take topic into account when pushing to non-topic repo Previously, pushing to a non-publishing repository without topic support would wrongfully use topic when searching for new heads.

#!/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))/hgext3rd/topic" >> $HGRCPATH