maaartinus
maaartinus

Reputation: 46492

How to get eclipse sources using git?

I'm trying to get sources from

:pserver:[email protected]:/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 [email protected]:/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).

Upvotes: 1

Views: 493

Answers (2)

Paul Webster
Paul Webster

Reputation: 10654

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.

Upvotes: 1

Max
Max

Reputation: 2907

cvs -d :pserver:[email protected]:/cvsroot/eclipse login
git cvsimport -v -d :pserver:[email protected]:/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

Upvotes: 1

Related Questions