diff --git a/swh/loader/cvs/cvsclient.py b/swh/loader/cvs/cvsclient.py --- a/swh/loader/cvs/cvsclient.py +++ b/swh/loader/cvs/cvsclient.py @@ -271,8 +271,6 @@ raise CVSProtocolError("CVS server error: %s" % line) if line == b"ok\n": break - elif line == b"M \n": - continue elif line[0:2] == b"M ": rlog_output.write(line[2:]) elif line[0:8] == b"MT text ": diff --git a/swh/loader/cvs/rlog.py b/swh/loader/cvs/rlog.py --- a/swh/loader/cvs/rlog.py +++ b/swh/loader/cvs/rlog.py @@ -350,7 +350,9 @@ state = 0 if state == 0: - if line[:9] == b"RCS file:": + if line == "\n": + continue + elif line[:9] == b"RCS file:": filename = line[10:-1] elif line[:5] == b"head:": # head = line[6:-1] diff --git a/swh/loader/cvs/tests/data/greek-repository6.tgz b/swh/loader/cvs/tests/data/greek-repository6.tgz new file mode 100644 index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc$@