diff tests/test-permissions.t @ 47129:93eb6c8035a9

dirstate-tree: Add a dirstate-v1-tree variant of some tests The `dirstate-v1` variant has the previous behavior. `dirstate-v1-tree` uses the same format on disk, but uses the new `DirstateMap` with a tree data structure and the new `status` algorithm. These were untested so far. Differential Revision: https://phab.mercurial-scm.org/D10698
author Simon Sapin <simon.sapin@octobus.net>
date Mon, 03 May 2021 20:04:19 +0200
parents b6673e9bdcf6
children 6763913fa175
line wrap: on
line diff
--- a/tests/test-permissions.t	Fri May 07 22:06:25 2021 -0400
+++ b/tests/test-permissions.t	Mon May 03 20:04:19 2021 +0200
@@ -1,5 +1,13 @@
 #require unix-permissions no-root reporevlogstore
 
+#testcases dirstate-v1 dirstate-v1-tree
+
+#if dirstate-v1-tree
+#require rust
+  $ echo '[experimental]' >> $HGRCPATH
+  $ echo 'dirstate-tree.in-memory=1' >> $HGRCPATH
+#endif
+
   $ hg init t
   $ cd t