diff tests/test-commandserver.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 (2014-10-14)
parents 524b786bd54f
children 840be5ca03e1
line wrap: on
line diff
--- a/tests/test-commandserver.t
+++ b/tests/test-commandserver.t
@@ -408,13 +408,9 @@
   *** runcommand branches
   default                        1:731265503d86
 
-  $ cat <<EOF > obs.py
-  > import mercurial.obsolete
-  > mercurial.obsolete._enabled = True
-  > EOF
-  $ cat <<EOF >> .hg/hgrc
-  > [extensions]
-  > obs = obs.py
+  $ cat >> .hg/hgrc << EOF
+  > [experimental]
+  > evolution=createmarkers
   > EOF
 
   >>> import os