Mercurial > hg
diff tests/test-dirstate-race2.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 | 87a34c767384 |
children | 6763913fa175 |
line wrap: on
line diff
--- a/tests/test-dirstate-race2.t Fri May 07 22:06:25 2021 -0400 +++ b/tests/test-dirstate-race2.t Mon May 03 20:04:19 2021 +0200 @@ -1,3 +1,11 @@ +#testcases dirstate-v1 dirstate-v1-tree + +#if dirstate-v1-tree +#require rust + $ echo '[experimental]' >> $HGRCPATH + $ echo 'dirstate-tree.in-memory=1' >> $HGRCPATH +#endif + Checking the size/permissions/file-type of files stored in the dirstate after an update where the files are changed concurrently outside of hg's control.