Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
47128:bea4717415c0 | 47129:93eb6c8035a9 |
---|---|
1 #require unix-permissions no-root reporevlogstore | 1 #require unix-permissions no-root reporevlogstore |
2 | |
3 #testcases dirstate-v1 dirstate-v1-tree | |
4 | |
5 #if dirstate-v1-tree | |
6 #require rust | |
7 $ echo '[experimental]' >> $HGRCPATH | |
8 $ echo 'dirstate-tree.in-memory=1' >> $HGRCPATH | |
9 #endif | |
2 | 10 |
3 $ hg init t | 11 $ hg init t |
4 $ cd t | 12 $ cd t |
5 | 13 |
6 $ echo foo > a | 14 $ echo foo > a |