changeset 49042:524819ab6fde

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
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 28 Mar 2022 13:00:57 +0200
parents 8309c83b6e2c
children 362312d61020
files tests/test-issue660.t
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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