Mercurial > public > mercurial-scm > hg
diff mercurial/localrepo.py @ 47279:40b51c28b242
dirstate-v2: Update the expected output of some tests for new requirement
Fix most test failures (except in test-narrow-debugrebuilddirstate.t and
test-upgrade-repo.t) caused by the new entry in config or in .hg/requires
when running `run-tests.py --extra-config-opt format.exp-dirstate-v2=1`
There is no CI?so far for this configuration.
Differential Revision: https://phab.mercurial-scm.org/D10718
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Wed, 19 May 2021 13:15:00 +0200 |
parents | ed0d54b20c5b |
children | 1766130fe9ba |
line wrap: on
line diff
--- a/mercurial/localrepo.py Wed May 19 13:14:59 2021 +0200 +++ b/mercurial/localrepo.py Wed May 19 13:15:00 2021 +0200 @@ -3531,6 +3531,7 @@ requirements.add(requirementsmod.SPARSEREVLOG_REQUIREMENT) # experimental config: format.exp-dirstate-v2 + # Keep this logic in sync with `has_dirstate_v2()` in `tests/hghave.py` if ui.configbool(b'format', b'exp-dirstate-v2'): if dirstate.SUPPORTS_DIRSTATE_V2: requirements.add(requirementsmod.DIRSTATE_V2_REQUIREMENT)