git cvs -如何使用git获取eclipse源代码



我正在尝试从

获取资源
:pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse

使用git csvserver。我刚刚阅读了关于在CVS中使用git的最佳实践,并尝试了不同的命令,包括

git cvsimport -p xCW2quwz6OlRE -d anonymous@dev.eclipse.org:/cvsroot/eclipse /cvsroot/eclipse

但是我没有通过密码提示(上面一行中的密码可能是纯粹的废话,但没关系)。根据eclipse cvs_how密码应该是空的(我也试过离开-p选项)。

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>

从http://dev.eclipse.org/viewcvs/viewvc.cgi/中选择module_name,例如platform

欢呼,马克斯

正如评论中提到的,在git镜像站点中有大多数CVS项目的镜像。

还有许多eclipse项目正在从CVS迁移到Git。请参阅http://git.eclipse.org/获取移动项目列表。

最新更新