# HG changeset patch
# User Stanislau Hlebik <st...@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
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to