Mercurial Plugin for Idea
Status
The plugin provides a subset of the functionality that you need for working with Mercurial in Idea.
What Works
Currently the plugin has the following functionality:
- Add
- Delete
- Commit
- Revert
- History
- Tag
- Pull
- Merge- with an external tool
- Push
- Move
- Rename
Functionality to come:
- Copy
- Clone
- Integrated merging
Implementation Information
The plugin is implemented by creating an external process executing the hg executable, and then screen scraping the result.
You can use the hg command line tool in conjunction with Idea. If things look like they are out of sync, then the Refresh File Status function on the Version Control menu will refresh the file status of all files.
Currently merge will call out to an external merge program. I use kdiff3 at this stage. Integrated merging for the plugin is coming...
To Install
Firstly, you must have Mercurial installed. The plugin is tested with Mercurial version 0.9.5 on Windows Vista, built with JDK 1.5.0. You can install the plugin from the Plugin Manager in Idea.
The plugin is developed on IntelliJ IDEA 7.0.3 #7718(It should work as far back as 7065). It will not work on IntelliJ IDEA 6.
Source Code
In the interested of eating our own dog food, the source code has been moved to a Mercurial repository at FreeHg. To provide a patch, clone this repository, post your issue in the issues database here and include the URL to your repository. Let me know when your changes are ready and I will pull your changes from there and review them. If you do not have a repository that you can expose on the internet, then you can use FreeHg to create one.