[PATCH 4 of 6 remotenames-ext] tests: write to local hgrc
Stanislau Hlebik
stash at fb.com
Mon Jan 30 15:56:02 UTC 2017
# HG changeset patch
# User Stanislau Hlebik <stash at fb.com>
# Date 1485791649 28800
# Mon Jan 30 07:54:09 2017 -0800
# Node ID 25d873eac976b58ac99dabb3f0e62814bb2aa2f8
# Parent 3e17b130293b0c65918041ad4e51a32a909e4f48
tests: write to local hgrc
A future test will need to run without selective pull enabled, so let’s not
set the global config
diff --git a/tests/test-selective-pull.t b/tests/test-selective-pull.t
--- a/tests/test-selective-pull.t
+++ b/tests/test-selective-pull.t
@@ -29,7 +29,7 @@
default/master 0:1449e7934ec1
Set up selective pull
- $ cat >> $HGRCPATH << EOF
+ $ cat >> .hg/hgrc << EOF
> [remotenames]
> selectivepull=True
> selectivepulldefault=master
More information about the Mercurial-devel
mailing list