HomeSoftware Heritage

and not only for an existing origin visit.

Description

and not only for an existing origin visit.

This is needed in situations where the snapshot table is not in sync with the
origin_visit one; typically occurs on mirrors.

Also add tests for with_visit argument.

Details

Provenance
douarddaAuthored on Nov 18 2019, 11:16 AM
douarddaPushed on Nov 18 2019, 1:38 PM
Differential Revision
D2295: db: check for existing snapshot when with_visit is True in origin_search()
Parents
rDSTOe296dfba137b: swh.storage.schemata: Drop schemata from storage
Branches
Unknown
Tags
Unknown
Build Status
Buildable 9081
Build 13282: test-and-buildJenkins