git-to-cvs.sh
is part of the workflow for syncing a CVS branch with a git branch (and it's the only part of this that is actually tested, the rest has just been written down quickly). You do check out your CVS tree (with -kk
), go into its root directory, and run git-init.sh
(untested as of yet). The local git repo has the branch cvs checked out, and that is the one we keep in sync with CVS (and the branch we checked out there).
Update from cvs is
cvs -q update -dP
git add --all .
git commit -m 'update from cvs'
(It does not try to recreate the individual commits of the CVS side into git; we're just interested in bringing over the current tree state in this direction.)