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
Migrated from D6560 (view on Phabricator)
Merge request reports
Activity
Build is green
Patch application report for D6560 (id=23834)
Rebasing onto 7f761b85...
Current branch diff-target is up to date.
Changes applied before test
commit a09530518522e9ff59b28d42164f721f5686c7b6 Author: Stefan Sperling <stsp@stsp.name> Date: Wed Oct 27 12:15:10 2021 +0200 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
See https://jenkins.softwareheritage.org/job/DLDCVS/job/tests-on-diff/35/ for more details.
Build is green
Patch application report for D6560 (id=23852)
Rebasing onto 6ff0b447...
Current branch diff-target is up to date.
Changes applied before test
commit 0829dc3309d784c394c17e90bea1760e3d30223e Author: Stefan Sperling <stsp@stsp.name> Date: Wed Oct 27 12:15:10 2021 +0200 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
See https://jenkins.softwareheritage.org/job/DLDCVS/job/tests-on-diff/39/ for more details.