Mercurial > hg
diff tests/test-dirstate.t @ 47281:6763913fa175
dirstate-v2: Add a variant of some tests, that uses the new format
With this, the new format receives some testing every time someone runs tests
with Rust extensions enabled, including on CI.
Differential Revision: https://phab.mercurial-scm.org/D10720
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Wed, 19 May 2021 13:15:00 +0200 |
parents | 93eb6c8035a9 |
children | bf8837e3d7ce |
line wrap: on
line diff
--- a/tests/test-dirstate.t Wed May 19 13:15:00 2021 +0200 +++ b/tests/test-dirstate.t Wed May 19 13:15:00 2021 +0200 @@ -1,4 +1,4 @@ -#testcases dirstate-v1 dirstate-v1-tree +#testcases dirstate-v1 dirstate-v1-tree dirstate-v2 #if dirstate-v1-tree #require rust @@ -6,6 +6,12 @@ $ echo 'dirstate-tree.in-memory=1' >> $HGRCPATH #endif +#if dirstate-v2 +#require rust + $ echo '[format]' >> $HGRCPATH + $ echo 'exp-dirstate-v2=1' >> $HGRCPATH +#endif + ------ Test dirstate._dirs refcounting $ hg init t