HomeSoftware Heritage

merge nested functions which yield into single functions

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

merge nested functions which yield into single functions

Merge swh_hash_data_per_cvs_changeset() + process_cvs_changesets().
Merge swh_hash_data_per_cvs_rlog_changeset() + process_cvs_rlog_changesets().

Makes the code easier to follow and makes return values typed.

Also, cvs_changesets does not need to be a class member.
Make it a local variable instead. Pointed out by mypy.

Suggested by vlorentz.

Details

Provenance
stspAuthored on Sep 15 2021, 1:51 PM
stspPushed on Sep 17 2021, 2:48 PM
Differential Revision
D5988: initial CVS loader stub
Tasks
T2845: Improve Subversion loader and develop CVS loader
Build Status
Buildable 23766
Build 37066: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.