HomeSoftware Heritage

rlog: fix parsing of multiple file revisions

Description

rlog: fix parsing of multiple file revisions

The rlog parser was only fetching a single file revision because
some lines of code had the wrong indentation. These lines were
supposed to be part of a loop body but were only executed once.

Also rename a function which had a misleading name and docstring.
This function does in fact process the entire RCS revision history
of a given file, as opposed to just one entry of RCS revision history.

Found while testing ingestion of the GNU dino repository from
cvs.savannah.gnu.org/sources/dino

Details

Provenance
stspAuthored on Oct 27 2021, 12:15 PM
stspPushed on Oct 27 2021, 3:59 PM
stspPushed on Oct 27 2021, 3:58 PM
Differential Revision
D6560: rlog: fix parsing of multiple file revisions
Parents
rDLDCVS6ff0b4473c2b: apply style tweaks suggested by vlorentz and reformatted by black
Branches
Unknown
Tags
Unknown
Tasks
T3691: Implement CVS loader
Build Status
Buildable 24736
Build 38611: test-and-buildJenkins console · Jenkins