How to get eclipse sources using git?
I'm trying to get sources from
:pserver:anonymous@dev.eclipse.org:/开发者_运维问答cvsroot/eclipse
using git csvserver
. I've just read Best practices for using git with CVS and tried different commands including
git cvsimport -p xCW2quwz6OlRE -d anonymous@dev.eclipse.org:/cvsroot/eclipse /cvsroot/eclipse
but I don't get past the password prompt (the password in the above line is probably pure nonsense, but it doesn't matter). According to the eclipse CVS_Howto the password should be empty (I've tried leaving the -p
option out as well).
cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse login
git cvsimport -v -d :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse -C eclipse -r cvs -k <module_name>
Choose module_name from http://dev.eclipse.org/viewcvs/viewvc.cgi/ e.g platform
Cheers, Max
As mentioned in the comments, there are mirrors of most of the CVS projects in a git mirror site.
There are also a number of eclipse projects in the process of moving from CVS to Git. See http://git.eclipse.org/ for a list of projects moving. SWT is in the process of moving now.
精彩评论