HomePhabricator

sidedata: add a 'side-data' repository feature and use it

Authored by marmoute.

Description

sidedata: add a 'side-data' repository feature and use it

Most code don't really care how sidedata support is added, but it needs to know
if it is present. To achieve this. we use the repo.features attributes with a
new dedicated features".

Having such centralised information is more robust and will help us to remove the
sidedata requirements in a later changesets.

Differential Revision: https://phab.mercurial-scm.org/D10617

Details

Committed
marmouteMay 3 2021, 6:29 AM
Differential Revision
D10617: sidedata: add a 'side-data' repository feature and use it
Parents
rHGd00177d08139: statichttp: add the missing `features` attribute
Branches
Unknown
Tags
Unknown