Mercurial > hg
comparison tests/test-dirstate-race.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 | f90a5c211251 |
children | 6763913fa175 |
comparison
equal
deleted
inserted
replaced
47128:bea4717415c0 | 47129:93eb6c8035a9 |
---|---|
1 #testcases dirstate-v1 dirstate-v1-tree | |
2 | |
3 #if dirstate-v1-tree | |
4 #require rust | |
5 $ echo '[experimental]' >> $HGRCPATH | |
6 $ echo 'dirstate-tree.in-memory=1' >> $HGRCPATH | |
7 #endif | |
8 | |
1 $ hg init repo | 9 $ hg init repo |
2 $ cd repo | 10 $ cd repo |
3 $ echo a > a | 11 $ echo a > a |
4 $ hg add a | 12 $ hg add a |
5 $ hg commit -m test | 13 $ hg commit -m test |