Mercurial > hg
changeset 47224:8505d23928b1
sidedata: use revlogv2 requirement in the test helper
We are about to drop the requirement dedicated to sidedata (since revlogv2 will
support them unconditionally and previous version will not.).
To prepare this more we adapt the test code to not use that requirements.
Differential Revision: https://phab.mercurial-scm.org/D10615
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 03 May 2021 12:29:30 +0200 |
parents | 281060fbccef |
children | d00177d08139 |
files | tests/testlib/ext-sidedata.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/testlib/ext-sidedata.py Mon May 03 12:29:19 2021 +0200 +++ b/tests/testlib/ext-sidedata.py Mon May 03 12:29:30 2021 +0200 @@ -60,7 +60,7 @@ assert not computers and not removers # deal with composition later addedreqs = dstrepo.requirements - srcrepo.requirements - if requirements.SIDEDATA_REQUIREMENT in addedreqs: + if requirements.REVLOGV2_REQUIREMENT in addedreqs: def computer(repo, revlog, rev, old_sidedata): assert not old_sidedata # not supported yet