Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to add existing mercurial repo to Eclipse?

I have installed mercurial plugin for Eclipse http://www.javaforge.com/project/HGE Question is how can i add my existing hg repository to IDE ? I mean , i already clone my bitbucket source code to disk (without eclipse by command line), so how to add it to Eclipse now?

like image 709
gaponov Avatar asked Jul 13 '11 13:07

gaponov


People also ask

How to install Mercurial plugin in Eclipse?

The simplest way to install Mercurial is to go on the Eclipse Marketplace “Help → Eclipse Marketplace” and get the plugin. This way you will get only the plugin and not the Mercurial binaries.

How do I create a Mercurial repository?

Create a local Mercurial repository Open the project you want to store in a repository. From the main menu, choose Hg | Create Mercurial Repository. Specify the location of the new repository.


1 Answers

  1. Import it like a non version-controlled project, this varies from language to language, but begins with "File"->"Import...".

  2. Once the project is imported, right-click on it in Eclipse, go to submenu "Team"->"Share Project...".

  3. Select "Mercurial" then "Next >" and "Finish"

  4. Done

like image 171
shellholic Avatar answered Oct 04 '22 09:10

shellholic