Git-CVS is the server component of the Git source code management system that allows it to masquerade as a CVS repository. This allows users familiar with the older tool and systems that integrate with CVS to access projects stored in Git repositories.
Questions tagged [git-cvs]
27 questions
182
votes
6 answers
Reverting part of a commit with git
I want to revert a particular commit in git. Unfortunately, our organization still uses CVS as a standard, so when I commit back to CVS multiple git commits are rolled into one. In this case I would love to single out the original git commit, but…

skiphoppy
- 97,646
- 72
- 174
- 218
99
votes
3 answers
How to export revision history from mercurial or git to cvs?
I'm going to be working with other people on code from a project that uses cvs. We want to use a distributed vcs to make our work and when we finish or maybe every once in a while we want to commit our code and all of our revision history to cvs. We…

tatsuhirosatou
- 25,149
- 14
- 39
- 40
49
votes
5 answers
Best practices for using git with CVS
What are your best practices and tips for using git to interface with a CVS repository?

skiphoppy
- 97,646
- 72
- 174
- 218
39
votes
3 answers
How to import and keep updated a CVS repository in Git?
There is a central repository in CVS, and I would like to use it with Git locally, and then send my changes back to CVS.
What can I accomplish that on a daily basis?
The tasks I would like to accomplish are:
importing branches,
getting history in…

Jatin Ganhotra
- 6,825
- 6
- 48
- 71
13
votes
2 answers
Can we use git-cvs on windows?
I'm comfortable using git, and I prefer it very much over CVS. Unfortunately, in our company, we have to use CVS as a version control system. I was wondering if there was anyway to use git locally while committing to the CVS repo, and I was elated…

vedang
- 3,111
- 2
- 24
- 33
8
votes
2 answers
How to guerilla VC with git while forced to use CVS at work?
My place of work currently uses CVS. A git migration is planned but it might be a long time coming. In the mean time I have a one-man project, and have decided to use git for my own personal development. The branching, staged commits, rebasing etc.…

rjh
- 49,276
- 4
- 56
- 63
7
votes
3 answers
How to mirror one one git remote to another with push
The problem is a simple one. I've used git cvsimport to import a cvs repo into a remote branch in a local git repository. I then wish to sync this repository: branches, tags, and all, to a git repository in the cloud (github / gitorious). To do…

James Blackburn
- 4,492
- 2
- 27
- 24
5
votes
4 answers
Why is git-cvsimport missing one major patchset?
This is a followup to a previous question of mine.
I can look through the output of cvsps (saved in my ~/.cvsps directory) and see a patchset for a major, complicated commit. But this commit does not show up when I do cvsimport to update my…

skiphoppy
- 97,646
- 72
- 174
- 218
5
votes
2 answers
How can I git-cvsimport multiple modules from a CVS repository, with differing branches?
I'm trying to git-cvsimport several different modules from CVS, all of which are on different branches.
So far I've done this (in pseudo-bash code):
for each ($MODULE, $BRANCH); do
git-cvsimport -p x -v -d "$CVS_REPO" "$MODULE" -o "$BRANCH" -C…

Neil
- 24,551
- 15
- 60
- 81
4
votes
4 answers
How to import CVS to git scm?
In order to import a revision of a CVS module,
I am using:
/usr/lib/git-core/git-cvsimport -a -i -p r,revisionname -k -v -d :pserver:user@xxx.com:2401/srv/cvs/rootname modulename
It works for a while and then I get something like cvsps got an…

reza
- 5,972
- 15
- 84
- 126
4
votes
1 answer
Speedup and Caveats with Git cvsimport?
we're trying our hand at migrating from cvs to git.
Our goals are
1) perfect current codebase
2) usable history. If it's missing an entry in an old branch, we don't care so much.
Two comments:
Even with a local copy of the cvs repository, it takes…

user331465
- 2,984
- 13
- 47
- 77
3
votes
1 answer
Git cvsimport missing incremental changes to branch
We're using git-cvsimport to periodically copy changes from cvs into git
For better or worse, we stuck with git cvsimport and not cvs2svn. Initially we planned a "once-and-for-all" cvs-to-git migration, but people ended up doing more incremental…

user331465
- 2,984
- 13
- 47
- 77
3
votes
0 answers
Getting commitid or 'git describe' with git-cvsserver and a CVS working copy
I have some automated tools that are accessing a git repository through cvs and git-cvsserver. I would like these tools to be able to see the commit ID of the content that they checked out. Is this recorded somewhere in the CVS metadata directory?

Phil Miller
- 36,389
- 13
- 67
- 90
2
votes
1 answer
How do I debug git-cvsimport? (can't see complicated commit)
About 40 minutes ago I committed a particularly complicated change involving several file renames, mergers, and deletes from git into cvs, using git-cvsexportcommit. This went fine, and a checkout from CVS sees the changes. However, the changes…

skiphoppy
- 97,646
- 72
- 174
- 218
2
votes
2 answers
git-cvsserver pserver username propagation
For some specific workflow issues at my company, I need to allow some users work
with CVS, while main repository is under git.
I've chosen git-cvsserver as implementation for this task.
I set up git repository, enabled it for gitcvs and setup a…

Ilya Furmanov
- 23
- 3