I need to set up some kind of read-only CVS repository mirror. The aim is to get snapshots of th开发者_开发知识库e project by schedule and store it on a windows box. Could you suggest best way to do it?
I don't actually have to use CVS on local. Our team works with Subversion. And if it possible to check out from CVS to SVN it would be even better. Because there is no need to commit any changes to the CVS repository. All I need is to have actual snapshots of sources from CVS.
Do I have to use migrating tools like cvs2svn with cron for windows to schedule it? Or are there any better solution?
You can simply use the cvs export command to get them. But i would suggest to do a migration via the already mentioned cvs2svn script.
My best reco would be git cvsimport Second best if it does not fail is cvsclone then cvsuck The issue in each case might having incremental updates, it requires a bit more work. But if the cvs repo is small enough, then doing a full clone each time with git cvsimport
精彩评论