git-cvs

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 don't have write access to the project's cvs repo so we can't commit very frequently. Wha...

Best practices for using git with CVS

What are your best practices and tips for using git to interface with a CVS repository? ...

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 are not appearing when I run git-cvsimport to update my git mirror of the CVS repository. I...

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 existing git repository. I know that git-cvsimport will ignore patchsets that are newer than 10...

Can't add a file named "VERSION" to CVS at the same level of a dir named "version"

I'm reporting a series of commits from git to cvs with cvsexportcommit. I've found that it's impossible to add the VERSION file in the following context | \_version/ | | | \_version.txt (to be removed) | \_VERSION (to be added) The output I get is the following: Applying to CVS commit f6ce403e6e1d57b61661527969ac97c52bcbe41f from p...

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 "$MODULE" done But that makes a different git repository for each module. How would I m...

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 this I don't have the access to rsync or copy the repository directly, I have to use git push...

Can we use git-cvs on windows?

Hi SO, 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 when I found this SO question. Unfortunately, it does not seem to work on Windows. ...

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? ...

How to guerilla VC with git while forced to use CVS at work?

Hi, 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. has been fantastic! But unfortunately at some point this project, and its history, ne...

Ensuring all git commits make it back to CVS when using git-cvs

I'm using git-cvs, and my general workflow is something like this: ...write some code... $ git commit $ git cvsexportcommit -c -p -v <asdf> $ git cvs-import $CVSROOT $ git pull This generally works fine for pushing my commits back to the CVS server and keeping things in sync. However, I'm wondering how I will realize that something i...

cvsps in root of a checkout (not in one specific module)

I've seen this on a couple of different repos. I want to import all the top level modules of a CVS repo into a single git repo. So: cvs co . cvsps but this fails, giving lots of messages like this: WARNING: file X doesn't match strip_path Y. ignoring. and only outputting 5 trivial seeming patches. I can run cvsps for each mod...

Speedup and Caveats with Git cvsimport?

hi all, 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 a very long time. The dry run took over 24 hours (7.5 gb cvs codebase; P4 2.0...