[Request] [+ ] D11865: dirstate-v2: test upgrade without rust too
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Tue Dec 7 08:51:45 UTC 2021
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
There is no reason to gate this anymore.
REPOSITORY
rHG Mercurial
BRANCH
stable
REVISION DETAIL
https://phab.mercurial-scm.org/D11865
AFFECTED FILES
tests/test-upgrade-repo.t
CHANGE DETAILS
diff --git a/tests/test-upgrade-repo.t b/tests/test-upgrade-repo.t
--- a/tests/test-upgrade-repo.t
+++ b/tests/test-upgrade-repo.t
@@ -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
To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20211207/71d440ae/attachment-0001.html>
More information about the Mercurial-patches
mailing list