D6849: tests: move a config write to top of file since it applies to all tests
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Sat Sep 14 05:43:30 UTC 2019
martinvonz created this revision.
Herald added a reviewer: durin42.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
I'm about to add another test that depends on this config.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D6849
AFFECTED FILES
tests/test-narrow.t
CHANGE DETAILS
diff --git a/tests/test-narrow.t b/tests/test-narrow.t
--- a/tests/test-narrow.t
+++ b/tests/test-narrow.t
@@ -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 '.^'
To: martinvonz, durin42, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list