test-
issue660: add dirstate-v2 variant
It's basically a dirstate test, so it makes sense to test out the new version.
Differential Revision: https://phab.mercurial-scm.org/D12445
--- a/tests/test-issue660.t Mon Mar 28 13:00:14 2022 +0200
+++ b/tests/test-issue660.t Mon Mar 28 13:00:57 2022 +0200
@@ -1,3 +1,14 @@
+#testcases dirstate-v1 dirstate-v2
+
+#if dirstate-v2
+ $ cat >> $HGRCPATH << EOF
+ > [format]
+ > use-dirstate-v2=1
+ > [storage]
+ > dirstate-v2.slow-path=allow
+ > EOF
+#endif
+
https://bz.mercurial-scm.org/660 and:
https://bz.mercurial-scm.org/322