HomeSoftware Heritage

algos.revisions_walker: Handle truncated/shallow histories
6510b5ec4d83Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

algos.revisions_walker: Handle truncated/shallow histories

It might exist cases where a revision's parent is referenced but doesn't exist
in the archive resulting in a truncated/shallow history when walking on the
revisions graph.

That commit ensures the revision walkers will not end up in errors when
encountering such cases.

Closes T1675

Details

Provenance
anlambertAuthored on Apr 18 2019, 4:17 PM
vlorentzPushed on May 17 2019, 1:53 PM
Differential Revision
D1424: algos.revisions_walker: Handle missing revisions in the archive
Parents
rDSTOC685b60180e4c: Make revision_add and directory_add call `_missing` using the same transaction.
Branches
Unknown
Tags
Unknown