Skip to content
Snippets Groups Projects

rlog, cvs2gitdump: Fix handling of revision number greater than one

It exists CVS respositories where revision numbers greather than 1.x are used to version files.

Previous loader implementation was raising an error when encountering such kind of revision so ensure it will be processed as the other ones.

Also fix tag names extraction from rlog output.

Related to #4043 (closed)

Fixes SWH-LOADER-CVS-4 and SWH-LOADER-CVS-6

Test Plan

I added a loading test for a lighweight CVS repo with such revision numbers in its changesets.

I also compared the snapshot obtained with the git cvsimport command and the one obtained by the loader: the exact same set of revisions are generated.


Migrated from D8103 (view on Phabricator)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading