HomeSoftware Heritage

new-loader: fix incremental load of multiple heads

Description

new-loader: fix incremental load of multiple heads

Some branches have multiple heads for a single branch (they can even be
closed heads). The SWH data model does not yet handle this, so we fix
the issue by asking a more precise question to the repository by
including all locals heads that are already stored as revisions.

We also test that this resolves the issue where the new loader would
always see the additional head as missing.

Details

Provenance
AlphareAuthored on May 27 2021, 6:19 PM
AlpharePushed on May 28 2021, 11:07 AM
Differential Revision
D5793: new-loader: fix incremental load of multiple heads
Parents
rDLDHG44fc0133da71: loader: don't ignore closed branches
Branches
Unknown
Tags
Unknown
References
tag: v1.1.0
Build Status
Buildable 21668
Build 33676: test-and-buildJenkins console · Jenkins