docs/tutorial/testlib/topic_setup.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Sat, 16 Jun 2018 23:32:22 +0200
changeset 3860 fa184c5edfe8
parent 3376 aad37ffd7d58
permissions -rw-r--r--
rewind: test rewinding an amended changesets We are now able to rewind a simple amended changeset. For now, its current successors has not been obsoleted and we created divergence.

#!/bin/sh
. $TESTDIR/testlib/pythonpath.sh

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

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

[extensions]
rebase=
topic=
EOF