Mercurial > hg
comparison tests/test-revlog-v2.t @ 47221:5eb5b866e517
requirements: no longer drop `generaldelta` requirement with revlogv2
A repository could use a mix of revlogv1 and revlogv2, making the requirements
still necessary. Overall we should move away from the "requirements" file being
used a way to configure the repository and stick to it "what do you need to
access this repository". However this is a wider work for another time.
In addition the logic we just dropped was confusing the `hg debugformat`
command, breaking the upgrade code and inconsistent (eg: `sparse-revlog` is also
implied by `revlogv2`).
Finally, multiple other config option would imply the use of the `revlogv2`
requirements, without drop the `generaldelta` one, leading to more
inconsistency.
Differential Revision: https://phab.mercurial-scm.org/D10612
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 03 May 2021 12:28:58 +0200 |
parents | 3a9f3470922c |
children | 80164d50ae3d |
comparison
equal
deleted
inserted
replaced
47220:4039cad0d8ff | 47221:5eb5b866e517 |
---|---|
22 $ cd empty-repo | 22 $ cd empty-repo |
23 $ cat .hg/requires | 23 $ cat .hg/requires |
24 dotencode | 24 dotencode |
25 exp-revlogv2.2 | 25 exp-revlogv2.2 |
26 fncache | 26 fncache |
27 generaldelta | |
27 persistent-nodemap (rust !) | 28 persistent-nodemap (rust !) |
28 revlog-compression-zstd (zstd !) | 29 revlog-compression-zstd (zstd !) |
29 sparserevlog | 30 sparserevlog |
30 store | 31 store |
31 | 32 |