view tests/testlib @ 1853:8db7828751b7

topic: wrap the underlying update function rather than the command This more properly manages the updates done by things like rebase.
author Matt Mackall <mpm@selenic.com>
date Fri, 12 Jun 2015 16:39:39 -0500
parents 2321fd2ed56e
children 85390446f8c1
line wrap: on
line source

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