HomeSoftware Heritage

rlog: Skip rlog entry with missing header in RlogConv.parse_rlog

Description

rlog: Skip rlog entry with missing header in RlogConv.parse_rlog

CVS rlog for a given module sent by server is a concatenation of
rlog entries. Each entry has a header containing the path to a
RCS file plus other info.

It exist cases where a rlog entry header is empty which makes the
rlog parsing fail.

So instead of stopping rlog parsing by raising an exception, prefer
to skip that entry and process the next one.

Closes T4629

Details

Provenance
anlambertAuthored on Oct 14 2022, 1:39 PM
anlambertPushed on Oct 17 2022, 10:55 AM
Differential Revision
D8684: rlog: Skip rlog entry with missing header in RlogConv.parse_rlog
Parents
rDLDCVScfe7507a7366: loader, cvsclient: Read files line by line to reduce memory consumption
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task
Build Status
Buildable 32316
Build 50617: test-and-buildJenkins console · Jenkins