HomeSoftware Heritage

Fix context for the first revision in a run

Description

Fix context for the first revision in a run

See inline comments: in essence, currently the first revision
in a run (incremental or not) will get the null revision as a
parent and no cached directory, which creates the wrong diff for that
revision (i.e. lots of files become added etc).

We fix this problem by doing a full listing of the first revision
in a run.

Details

Provenance
AlphareAuthored on Dec 1 2021, 6:11 PM
AlpharePushed on Dec 2 2021, 10:45 AM
Differential Revision
D6723: Fix context for the first revision in a run
Parents
rDLDHG6f1ef81f688f: Don't accidentally do a full run on incremental
Branches
Unknown
Tags
Unknown
Build Status
Buildable 25298
Build 39545: test-and-buildJenkins console · Jenkins