HomeSoftware Heritage

add CVS commit ID support to rlog.py

Description

add CVS commit ID support to rlog.py

Newer CVS clients tag commits with a commit ID which allows us to
correctly convert commits which changed several RCS files at once.
The rsync access method based on cvs2gitdump was already taking
advantage of this. To ensure that conversions over the pserver
protocol yield the same result as conversions over rsync we need
to add commit ID support to rlog.py.

Add two new test cases which convert the same repository over
rsync and pserver respectively, and ensure that they yield the
same result. Without commit ID support conversion over pserver
produces a different result for this particular test repository.

With feedback about coding style from vlorentz.

Details

Provenance
stspAuthored on Nov 9 2021, 11:57 AM
stspPushed on Nov 10 2021, 12:09 PM
Differential Revision
D6623: add CVS commit ID support to rlog.py
Parents
rDLDCVSd28a4b21c56a: handle Attic-only RCS files over CVS pserver
Branches
Unknown
Tags
Unknown
Tasks
T3691: Implement CVS loader
Build Status
Buildable 24982
Build 39043: test-and-buildJenkins console · Jenkins