I am using git cvsimport to work with a cvs server, and it works fine.
However, some very old projects have many commits and large files. It causes cvsimport to spend a long time checking out all commits and converting them to git format.
I cvsimport like this:
git cvsimport -v -a -d :pserver:qrtt1@localhost:/cvs cvsroot/my_module
Is it possible to select commits after some date?
In theory you should be able to use the
-poption ofgit cvsimportin conjunction with the-doption ofcvsps. Here are the two relevant extracts from the man pages:git cvsimport:
cvsps:
Unfortunately when I used it, cvsps complained about the date:
Running
cvspsby itself accepts the date though, so doing this as a two step process should work.You can examine the output of cvsps to confirm that it only has changes after the date you specified, before running the lengthy
cvsimportcommand.