view tests/testlib @ 1874:ec28b6c3414a

topic: fix changing topics of commits that have an amend_source Includes a test for this specific case, but we should probably spend more time squinting at the interactions between the current topic wrapper function and commitctx for memctx instances.
author Augie Fackler <raf@durin42.com>
date Fri, 11 Dec 2015 12:53:20 -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