test-dirstate-version-fallback: future-proof the test for a different default stable
authorRaphaël Gomès <rgomes@octobus.net>
Mon, 12 Jun 2023 10:50:00 +0200
branchstable
changeset 50667 e7a3611181aa
parent 50665 95fe6e70cab5
child 50686 a41eeb877d07
child 50687 82cf392c99f6
test-dirstate-version-fallback: future-proof the test for a different default Dirstate-v2 will become the default at some point, which would cause this test to fail. Let's save someone else the headache later.
tests/test-dirstate-version-fallback.t
--- a/tests/test-dirstate-version-fallback.t	Thu Jun 08 17:02:04 2023 +0200
+++ b/tests/test-dirstate-version-fallback.t	Mon Jun 12 10:50:00 2023 +0200
@@ -1,6 +1,8 @@
   $ cat >> $HGRCPATH << EOF
   > [storage]
   > dirstate-v2.slow-path=allow
+  > [format]
+  > use-dirstate-v2=no
   > EOF
 
 Set up a v1 repo