test-issue660: add dirstate-v2 variant
authorRaphaël Gomès <rgomes@octobus.net>
Mon, 28 Mar 2022 13:00:57 +0200
changeset 49042 524819ab6fde
parent 49041 8309c83b6e2c
child 49043 362312d61020
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
tests/test-issue660.t
--- 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