HomeSoftware Heritage

eliminate code duplication of logic in process_cvs_changesets()

Description

eliminate code duplication of logic in process_cvs_changesets()

Factor out code which is specific to rcsparse and cvsclient into
separate functions and pass a parameter to process_cvs_changesets()
so it can decide which of the two needs to be used.

This supersedes the function process_cvs_rlog_changesets() which
duplicated the looping code also contained in process_cvs_changesets().

Details

Provenance
stspAuthored on Sep 17 2021, 4:39 PM
stspPushed on Sep 22 2021, 12:29 PM
Differential Revision
D6298: eliminate code duplication of logic in process_cvs_changesets()
Parents
rDLDCVSa6e9882352c3: Add a bit of typing
Branches
Unknown
Tags
Unknown
Build Status
Buildable 23889
Build 37253: test-and-buildJenkins console · Jenkins