changeset 1840:2321fd2ed56e

testlib: enable rebase and obsolete for easier testing
author Augie Fackler <augie@google.com>
date Wed, 10 Jun 2015 14:59:05 -0400
parents 1bc5e62fc0c7
children 72a58a5bfb62
files tests/testlib
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/testlib	Wed May 20 21:23:28 2015 -0400
+++ b/tests/testlib	Wed Jun 10 14:59:05 2015 -0400
@@ -4,6 +4,12 @@
 # It can be called in a test like this:
 #  $ . "$TESTDIR/testlib"
 
-# Activate extensions
-echo "[extensions]" >> $HGRCPATH
+# Enable obsolete markers and enable extensions
+cat >> $HGRCPATH << EOF
+[experimental]
+evolution=createmarkers,exchange
+
+[extensions]
+rebase=
+EOF
 echo "topic=$(echo $(dirname $TESTDIR))/src/topic" >> $HGRCPATH