loader: Fix no longer existing hg node filtering
Merged
requested to merge anlambert/swh-loader-mercurial:fix-no-longer-existing-hg-node-filtering into master
- May 10, 2023
-
-
Antoine Lambert authored
When a mercurial origin is loaded, SWH stores the mapping between the original hg revision ids and SWH revision ids as extids. This mapping is then reused in subsequent loads to determine which new revisions should be archived. However it exist cases where previously seen hg revisions were removed from the mercurial repository between two loads by SWH. Previously the code filtering such no longer existing revisions was not catching the right exception and thus an error was raised when attempting to reload such mercurial origins. Related to #4583
594a2b68
-