Questions tagged [cvs2git]

cvs2git is a conversion program that converts CVS projects into git repositories.

cvs2git is a conversion program that converts CVS projects into git repositories.

cvs2git is an extension to the cvs2svn project. A CVS project is first effectively converted to SVN and then in turn converted to a git-importable format.

The canonical location for cvs2git was originally cvs2git.tigris.org. However, that website is no longer online. it is now hosted on GitHub.

Other tools to convert CVS to git are described in this StackOverflow question.

49 questions
1
vote
1 answer

Drop history older than x on cvs2git Migration

we plan to migrate one of our last big CVS repositories in a Git repository. For migration we are using svn2git's cvs2git. Because this CVS repository has grown over ~ 12 years, it has 31GB of data. I couldn't find any solution to drop all history…
BlackEye
  • 775
  • 11
  • 25
1
vote
1 answer

cvs2git covert cvs to git and push multiple branches gets: error: src refspec master does not match any

I use cvs2git to convert a cvs repo to git. This project/repo has multiple branches and tags. Anyway I was able to (didn't get any error msg) convert this cvs repo to git. But when I push the git project to github I am getting this error. I think it…
topcan5
  • 1,511
  • 8
  • 30
  • 54
1
vote
0 answers

Importing existing CVS repository to Git alongwith history

We have a codebase of 12+ years controlled by CVS. We are now planning to migrate to Git. Are there any tools available that can help in importing CVS along with the history to Git? I have tried a couple of tools but they are supposed to migrate…
Kashif Nazar
  • 20,775
  • 5
  • 29
  • 46
1
vote
1 answer

How can I fix 'premature end of change in file'?

I'm trying to migrate an old cvs repository to git. Therefore I use cvs2git (cvs2svn 2.4.0). There I have some files, which are corrupted: 'is not a valid ,v file. In order to correct these I check the rcs file format. I have detected, that…
user2451418
  • 1,387
  • 4
  • 15
  • 27
1
vote
0 answers

How can I migrate cross-project branches via cvs2git?

I am migrating an old cvs repository to git. Therefore i try to migrate each project separately. But there are branches and tags which reference several projects. How can i handle this? Is a migration of the whole cvs repository my only chance ? -…
user2451418
  • 1,387
  • 4
  • 15
  • 27
1
vote
2 answers

Determining how cvs2git converted CVS trees

I successfully converted and imported into git an eight-year old CVS master tree which contains individual CVS projects. I am trying to figure out what the cvs2git conversion did to the individual CVS repositories. Fortunately, I still have the…
octopusgrabbus
  • 10,555
  • 15
  • 68
  • 131
0
votes
0 answers

Migrating from CVS to git while preserving history for multiple modules?

I'd like to migrate an old CVS repo to git, while preserving history. Here's how I check out the 5 branches that need to be migrated in CVS: branch1: cvs co -r branch1 sim Login SystemMonitor archiver branch2: cvs co -r branch2 par sim Login…
0
votes
1 answer

cvs to git conversion using cvs2git ; how to resolve error "Multiple definitions of the symbol" elegantly

I am using cvs2git version 2.5.0. I have a old CVS repository that I am attempting to convert to a git repository. I ran the cvs2git command as below cvs2git --blobfile=git-stage/git-blob.dat --dumpfile=git-stage/git-dump.dat --keep-cvsignore …
Yogesh Devi
  • 617
  • 11
  • 30
0
votes
0 answers

Contributors Page Innacurate After cvs2git import

We used cvs2git and everything worked great the history is there for each commit each and it lists each users associated to the commit. However the contributors page shows only 1 user made all the commits. The user that it lists doing all the…
0
votes
0 answers

How to inject Git information at the top of program code?

I need to inject Git information at the top of each source code that is a part of Git repository. In past, we have worked on CVS repository for maintaining source code. In CVS, CVS information was added at the top of the source file with each…
Manoj Agarwal
  • 365
  • 2
  • 17
0
votes
0 answers

Blob and Dump file unable to create while using CVS2GIT

I am trying to migrate the code base from CVS to GIT. I am using cvs2git tool in windows 10. I have followed the instructions given by cvs2git documentation. But when I am trying to generate the blob and dump file in my local getting error. Below…
0
votes
1 answer

Empty keywords fields after migration from CVS to GIT using cvs2git

I am migrating many repositories from CVS to GIT. I used cvs gitimport first, but it didn't work properly. cvs2git works (almost) fine. Unfortunately there is one issue that worked in cvs gitimport and does not work in cvs2git (and is important for…
scanjan
  • 3
  • 1
0
votes
0 answers

Is CVS to Gitlab migration corrupt any jars under any repository using cvs2git

I want to migrate CVS repositories into Gitlab. I have multiple modules under a repository and few modules have multiple jars in it. I used the cvs2git tool to migrate this, it's migrated without any issues but I couldn't compile the repository…
SST
  • 2,054
  • 5
  • 35
  • 65
0
votes
0 answers

How to migrate CVS repository with multiple modules as a single repository into Gitlab

I want to migrate CVS repositories into Gitlab. I have multiple modules under a repository. I need to migrate as a single repository in Gitlab with all directories. CVS Repository: Repository ---> module_1 module_2 …
SST
  • 2,054
  • 5
  • 35
  • 65
0
votes
0 answers

cvs2git was missing few commits during miration

The few commits are missing while migrating from CVS to Git using cvs2git (Python 2.7.5). The missing commit messages are present in dumb.dat file but it doesn't imported into git. Why the cvs2git missing commits while migrating from CVS to Git…
SST
  • 2,054
  • 5
  • 35
  • 65