dirstate-v2: test upgrade without rust too stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 06 Dec 2021 10:52:40 +0100
branchstable
changeset 48436 25c352b58b4e
parent 48435 18032c282a7e
child 48437 6e4999cb085e
dirstate-v2: test upgrade without rust too There is no reason to gate this anymore. Differential Revision: https://phab.mercurial-scm.org/D11865
tests/test-upgrade-repo.t
--- a/tests/test-upgrade-repo.t	Tue Dec 07 10:03:00 2021 +0100
+++ b/tests/test-upgrade-repo.t	Mon Dec 06 10:52:40 2021 +0100
@@ -1634,7 +1634,14 @@
   $ hg debugupgraderepo --run
   nothing to do
 
-#if rust
+#if no-rust
+
+  $ cat << EOF >> $HGRCPATH
+  > [storage]
+  > dirstate-v2.slow-path = allow
+  > EOF
+
+#endif
 
 Upgrade to dirstate-v2
 
@@ -1644,7 +1651,7 @@
   upgrade will perform the following actions:
   
   requirements
-     preserved: dotencode, exp-revlogv2.2, fncache, generaldelta, persistent-nodemap, revlog-compression-zstd, sparserevlog, store
+     preserved: * (glob)
      added: dirstate-v2
   
   dirstate-v2
@@ -1676,7 +1683,7 @@
   upgrade will perform the following actions:
   
   requirements
-     preserved: dotencode, exp-revlogv2.2, fncache, generaldelta, persistent-nodemap, revlog-compression-zstd, sparserevlog, store
+     preserved: * (glob)
      removed: dirstate-v2
   
   processed revlogs:
@@ -1694,5 +1701,3 @@
   $ hg debugformat -v | grep dirstate-v2
   dirstate-v2:         no     no      no
   $ hg status
-
-#endif