changeset 42930:0b81fd0aa2a1

tests: move a config write to top of file since it applies to all tests I'm about to add another test that depends on this config. Differential Revision: https://phab.mercurial-scm.org/D6849
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 12 Sep 2019 22:31:45 -0700
parents 97b79354e9f0
children 181ee2118a96
files tests/test-narrow.t
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-narrow.t	Tue Sep 10 09:57:33 2019 -0400
+++ b/tests/test-narrow.t	Thu Sep 12 22:31:45 2019 -0700
@@ -1,6 +1,11 @@
 #testcases flat tree
 #testcases lfs-on lfs-off
 
+  $ cat >> $HGRCPATH << EOF
+  > [experimental]
+  > evolution=createmarkers
+  > EOF
+
 #if lfs-on
   $ cat >> $HGRCPATH <<EOF
   > [extensions]
@@ -77,10 +82,6 @@
   updating to branch default
   3 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ cd narrow-local-changes
-  $ cat >> $HGRCPATH << EOF
-  > [experimental]
-  > evolution=createmarkers
-  > EOF
   $ echo local change >> d0/f
   $ hg ci -m 'local change to d0'
   $ hg co '.^'