diff tests/test-subrepo-missing.t @ 22955:fab9dda0f2a3

obsolete: update tests to use obsolete options The obsolete._enabled flag has become a config option. This updates all but one of the tests to use the minimal number of flags necessary for them to pass. For most tests this is just 'createmarkers', for a couple tests it's 'allowunstable', and for even fewer it's 'exchange'.
author Durham Goode <durham@fb.com>
date Tue, 14 Oct 2014 13:34:25 -0700
parents 427d672c0e4e
children 871485bd03fd
line wrap: on
line diff
--- a/tests/test-subrepo-missing.t	Tue Oct 14 13:27:00 2014 -0700
+++ b/tests/test-subrepo-missing.t	Tue Oct 14 13:34:25 2014 -0700
@@ -70,17 +70,13 @@
 
 Enable obsolete
 
-  $ cat > ${TESTTMP}/obs.py << EOF
-  > import mercurial.obsolete
-  > mercurial.obsolete._enabled = True
-  > EOF
   $ cat >> $HGRCPATH << EOF
   > [ui]
   > logtemplate= {rev}:{node|short} {desc|firstline}
   > [phases]
   > publish=False
-  > [extensions]'
-  > obs=${TESTTMP}/obs.py
+  > [experimental]
+  > evolution=createmarkers
   > EOF
 
 check that we can update parent repo with missing (amended) subrepo revision