tests/testlib
author Pierre-Yves David <pierre-yves.david@fb.com>
Mon, 14 Mar 2016 17:48:31 +0000
changeset 1896 4ae421cbb07c
parent 1840 2321fd2ed56e
child 1901 85390446f8c1
permissions -rw-r--r--
stack: exclude obsolete changeset from the set We care about relevant changeset, obsolete have a new version somewhere and we don't care about the old one in our display. In case of unstability, the ordering used is still wrong.

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