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
10
votes
1 answer

Git - fatal: Branch name doesn't conform to GIT standards

I am trying to migrate a CVS repo to Git using cvs2git. Unfortunately my cvs repo has many branches with regex. While doing git fast import(unix) it reports the error below fatal: Branch name doesn't conform to GIT standards:…
user2164525
  • 897
  • 1
  • 7
  • 18
10
votes
5 answers

Is there any provision for converting .cvsignore files to .gitignore file?

I am using cvs2svn-2.4.0 for CVS to Git migration. This does not include the .cvsignore to .gitignore conversion. How do I convert .cvsignore files to .gitignore file?
user2164525
  • 897
  • 1
  • 7
  • 18
4
votes
1 answer

AuthReply: I HATE YOU response while using git cvsimport

I am migrating from CVS to Git. I am trying the following command on Cygwin Terminal $ git cvsimport -v -d :pserver:kashif.nazar@cvs-server:/cvsroot MyModule but I am getting the following response. AuthReply: I HATE YOU Seems like this is an…
Kashif Nazar
  • 20,775
  • 5
  • 29
  • 46
3
votes
1 answer

cvs2svn cvs2git: map cvs users to github users

I used cvs2git to convert 1 cvs repo to git and push it to github. Everything works except that I don't see any contributors for my repo on github. I am wondering if there is a way to bring all the users from cvs and map them to github users.
topcan5
  • 1,511
  • 8
  • 30
  • 54
3
votes
1 answer

Does cvs2git migrates the Attic folder and the ,v files underneath it to GIT

I am trying to migrate a cvs repo to GIT which has lot of Attic folders and ,v underneath it. How does the cvs2git preserve this removed files to the git repository for future requirements.
user2164525
  • 897
  • 1
  • 7
  • 18
3
votes
2 answers

cvs2git: Possibility to keep mapping from CVS revision numbers to Git revision Hash

We migrate large CVS repositories to GIT with cvs2git. For an in-house tool we need a mapping from CVS revision numbers to GIT revision hash for some files. cvs2svn has an parameter --cvs-revnums, but this revisions are only stored in svn file…
SebW
  • 61
  • 3
3
votes
2 answers

what does cvs2git need from a CVS repository?

I have a large CVS repository (~ 30 GB), and to convert a single module using cvs2git it seems that all I need is: the CVSROOT directory the module's directory The module's directory should, of course, be in the same relative location to CVSROOT…
ErikR
  • 51,541
  • 9
  • 73
  • 124
2
votes
1 answer

Find corrupt files in cvs repository

I am trying to migrate my repository from cvs to git using cvs2git but it fails when corrupt files are found. Is there anyway I can find corrupt files in CVS beforehand? Command used : cvs2git --blobfile=blobfilename --dumpfile=dumpfilename…
Arjun
  • 153
  • 1
  • 8
2
votes
1 answer

git cvsimport missing tags

I'm migrating huge CVS repository into git and I've figured out that not all tags were migrated (the history looks ok). Probably it's because the Tags in CVS were created not on the whole repository, but on particular folders, and in addition some…
Yuriy
  • 2,670
  • 6
  • 33
  • 48
2
votes
1 answer

How to preserve CVS tags during cvs2git conversion?

I'm converting a number of CVS repositories to GIT. That works mostly but when a CVS repository used tags, these are missing in the GIT repository (branches wortk, though). Strangely enough the cvs2svn output shows a number of identified…
Udo G
  • 12,572
  • 13
  • 56
  • 89
2
votes
0 answers

Any Way I Can Easily Merge Git Branches Created in CVS2Git Migration?

We recently did a migration of our CVS repository to Git. In our CVS repository, we had some branches with code in them that we had stashed away after development was complete, until we had time to schedule them at a later point. When we did the…
Edward Shtern
  • 5,177
  • 5
  • 24
  • 24
2
votes
2 answers

How can I check whether cvs2git is still running?

I have trigged off cvs to git migration with cvs2svn (cvs2git) for 4 days. My repository has a size of 12 GB and it is still in pass 7. pass 1: 66238 sec pass 2: 29.96 sec pass 3: 6.745 sec pass 4: 106343 sec pass 5: 2080 sec pass 6: 3955 sec So…
user2451418
  • 1,387
  • 4
  • 15
  • 27
2
votes
1 answer

Find a common commit in two completely different git trees

The following script tries to find the newest common commit of two branches. The commits should have the same subject, same author and same author date. but commit date and hash are different. Because of this, git rebase cannot find this branch…
Daniel Alder
  • 5,031
  • 2
  • 45
  • 55
2
votes
2 answers

How do you configure cvs2git to handle multiple CVS directories?

This question is related to my recent git SO post. Other than writing a shell script, I'm not quite sure how to configure cv2git to have it read a Linux directory SRC_TREE in which are multiple CVS projects. Any pointers would be appreciated. I am…
octopusgrabbus
  • 10,555
  • 15
  • 68
  • 131
1
vote
1 answer

Why cvs2git not migrating properly when Attic folder in it?

I am trying to migrate cvs to git but the repository doesn't get migrated when the Attic folder in it. It's migrated README.txt file alone. How to migrate properly even Attic folder in it? CVS: ls -ltr /home/user/cvs/myproject/ total 4 -r--r-----.…
SST
  • 2,054
  • 5
  • 35
  • 65
1
2 3 4