HomeSoftware Heritage

cvsclient: Handle error in fetch_rlog when path does not exist

Description

cvsclient: Handle error in fetch_rlog when path does not exist

When attempting to fetch the rlog for a path that does not exist in
the repository, the CVS server will respond with the following lines:

E cvs rlog: could not read RCS file for <path>
ok

That error case was not handled in fetch_rlog so ensure it returns None
when encountering it.

The issue was spotted when the loader attempts to fetch more rlog data from
Attic directories. The paths of these Attic directories are computed from
those of the files in the repositories but it exist cases where those
directories do not exist.

Details

Provenance
anlambertAuthored on Oct 13 2022, 3:21 PM
anlambertPushed on Oct 13 2022, 7:26 PM
Differential Revision
D8675: cvsclient: Handle error in fetch_rlog when path does not exist
Parents
rDLDCVS83fae9c7b386: setup.py: Fix debian unstable package build
Branches
Loading...
Tags
Loading...
Build Status
Buildable 32300
Build 50594: test-and-buildJenkins console · Jenkins