tests/test-persistent-nodemap.t
changeset 44868 b81486b609a3
parent 44866 6b01799e9db0
child 44870 d688a8d537b9
--- a/tests/test-persistent-nodemap.t	Tue Apr 14 03:05:54 2020 +0200
+++ b/tests/test-persistent-nodemap.t	Tue Apr 14 03:16:23 2020 +0200
@@ -2,14 +2,14 @@
 Test the persistent on-disk nodemap
 ===================================
 
-  $ hg init test-repo
-  $ cd test-repo
-  $ cat << EOF >> .hg/hgrc
+  $ cat << EOF >> $HGRCPATH
   > [experimental]
   > exp-persistent-nodemap=yes
   > [devel]
   > persistent-nodemap=yes
   > EOF
+  $ hg init test-repo
+  $ cd test-repo
   $ hg debugbuilddag .+5000 --new-file --config "experimental.exp-persistent-nodemap.mode=warn"
   persistent nodemap in strict mode without efficient method (no-rust no-pure !)
   persistent nodemap in strict mode without efficient method (no-rust no-pure !)