views:

83

answers:

3

We're a small software company that has been using CVS and SVN for version control (and Eclipse for writing code) for about 10 years. We're now considering switching some of our projects to use a distributed version control system.

We're looking to use something like git, mercurial, etc. But--and here's the key--our new system has to work very well with Eclipse. CVS and SVN are tightly integrated with Eclipse (via plugins like Subclipse), so any new version control system that we switch to will need to have its own plugins that live up to that standard.

Does anything like this exist?

A: 

A plugin exists for Git, Lookup EGit from the Software Updates tool. Its still in incubation though, so I've no comment on how stable it is. Seems ok so far though.

Mikeb
A: 

Our team converted from svn to git, but it is currently not as tightly integrated. We prefer the CLI for it rather than the gui in general. I imagine in the future it gets better, but for now it may be a point of contention. We're all very satisfied with git though, and glad to be using it.

Daenyth
+4  A: 

Eclipse is committed to Git, as Alblue put it last year:

At this point, the future of Eclipse and DVCS lies with eGit, whether it's good or not. It is quite likely that the Eclipse 3.6 series will have eGit support by default; and it's based on the same JGit library that NetBeans will use for the NetBeans implementation, so at least it's likely to be kept up to date.

There was a long debate about the merits of different DVCSs on Eclipse bug 257706 and the net result was for Git as the future DVCS for Eclipse, rather than other DVCSs.

You will find a first tutorial in this EclipseCon2010 presentation.
And a more detailed page in the Eclipse wiki.

You can see both Mercurial and Git in action in Eclipse in those Ekke's pages.

alt text

vs.

alt text

Ekke's conclusion at the time (March 2010) was a nice summary of where the two DVCS tools stand with Eclipse:

Perhaps you ask: why Mercurial ? Didn’t you know that sooner or later Eclipse projects will use EGit / JGit ?
Yes – I know and I’ll of course use EGit to access Eclipse Projects.
But I was looking for a solution working now and resolving the needs of our workflows. Working with DVCS you get much freedom how to organize and use your repositiories where you can easy push / pull around between all of them. This won’t be always easy to solve – but the tool you’re using should be.

I really appreciate the hard work from EGit / JGit team be done last months and there’s much to do until release of Helios.
Thanks for fixing bugs and I’ll support you with testing and reporting issues. Maybe in some months the world looks different – there are some ways to convert hg to git http://hg-git.github.com/ or fast-export. I’ll try these converter – projects after EclipseCon to provide redView’s and red-open’s sources also as Git Repositories.

VonC
... and after two years and 2 days on SO, I finally break 100k;) (and that will only tags outside of the top 40, except for Java)
VonC
@VonC: Congrats! I hope they at least give you a t-shirt or coffee mug or something... :)
Dan Moulding
@Dan: thank you. I only hope for the privilege to go on interacting with this awesome community, and learn a ton in the process. For instance, I never heard of Git or Mercurial before SO. I literary learn those tools from the ground up from me answering SO questions.
VonC
Well, with answers this good I can see why you are at 100k. :)
Xanatos