eclipsegit-cvs

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


Solution

  • 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