Reputation: 24922
I've installed the HgEclipse plugin for Mercurial integration in Eclipse. I have an existing (Java) project in Eclipse, but I can't figure out how to turn on mercurial change tracking for this existing project.
It seems I can do an import of a mercurial project (File > Import > Mercurial > Clone ...), but that's only for new Eclipse projects...
Of course, I can apply Mercurial via the command line, e.g. hg init
in the project directory, but this doesn't get picked up in Eclipse.
So, how do I turn on Mercurial for existing Eclipse projects?
Upvotes: 37
Views: 11447
Reputation: 61
When you are trying to push your project to your repository the above answer is correct for the initial part, but a step by step would be more like this:
Upvotes: 6
Reputation: 1617
Right click on project go to "Team" -> "Share Project" select "Mercurial" and go through the wizard steps.
Upvotes: 50