hg4idea

Compatible with  IntelliJ IDEA
01.02.2010
11 068
IntelliJ IDEA plugin for Mercurial integration.
RubyMine and WebIDE should work but hg4idea was never tested against them.

System Requirements:

  • IntelliJ IDEA (Ultimate or Community)
  • Java 5+
  • Mercurial 1.5+

If you found a bug or would like to see some features added to hg4idea please open a ticket in bugtracker.

When opening bugs don't forget to include:

  • IntelliJ IDEA version
  • hg4idea version
  • Mercurial version
  • Exact steps to reproduce

Download plugin

Recent change notes

Changes since 0.6.0
  • [feature] Folders under mercurial control are auto-detected on project creation
  • [feature] New status notifications for incoming and outgoing changesets
  • [enhancement] User was required to enter the hg executable path for every project
  • [enhancement] Added support for multi-line commit messages
Changes since 0.5
  • [feature] Unresolved files show in red
  • [feature] Added new action to resolve all conflicts, will open the merge dialog
  • [feature] Added mercurial context action to mark a file as resolved
  • [feature] New Mercurial menu action to rebase MQ patches
  • [enhancement] When file is moved/renamed, it has a status of modified
  • [enhancement] Added tooltip to mercurial status component
  • [bugfix] exception clicking annotate in history view
  • [bugfix] NPE on project integration
  • Re-organized mercurial menu
  • Performance improvements
For full changelog visit wiki changelog page.
Anonymous
15.11.2010
See comment below:

========================================

viacoban
2010-07-23 02:02:04

[...]

So idea9 users please use hg4idea-luciad.

========================================

That is http://plugins.intellij.net/plugin/?idea&id=4624

--
13.11.2010
I am using IntelliJ IDEA 9.0.3 but facing problem with SVN.. The incoming view does not show any changes although the repository view shows the new commits

Can anybody help if I am missing anything or configuration.

I am now trying to install this hg4idea plugin it ask me "to enter the hg executable path" whereas I couldn't find any hg where may I find hg executable? do i need to download it separately
13.11.2010
I am using IntelliJ IDEA 9.0.3 but facing problem with SVN.. The incoming view does not show any changes although the repository view shows the new commits

Can anybody help if I am missing anything or configuration.

I am now trying to install this hg4idea plugin it ask me "to enter the hg executable path" whereas I couldn't find any hg where may I find hg executable? do i need to download it separately
Anonymous
29.08.2010
Confusing if project directory != mercurial directory. (i.e. project is in a subdirectory).

Once I got past that, and got things properly configured it's been great. Thanks.
16.08.2010
I have no idea what you are talking about.

If you are in the business of writing software this should be a useful read:
https://developer.mozilla.org/en/Bug_writing_guidelines
Anonymous
14.08.2010
After closing project and opening its again I have got "psi.file" instead of all my *.java files. Their content is still correct, but having 10+ classes in one package seems to me quite unusual at least... Will be very happy if this could be fixed in near future. Thanks.
23.07.2010
Thanks for your kind words, unfortunately I do not offer an idea9 version of plugin because I don't have an idea9 license.

I could use idea9 community but I'd have to switch back and forth between idea9 and idea8 (I use idea8 for my main work)

So idea9 users please use hg4idea-luciad.

And idea10 will have hg4idea bundled and maintained by JetBrains.
Anonymous
23.07.2010
great plugin, but latest release of intellij (9.0.3) seems to break this.. any plans on updating it?
Anonymous
28.06.2010
When creating a new project the plugin auto-detects folders under mercurial control (which is really nice), but when using a subfolder it is necessary to manually go to Settings, Version Control and point to the root folder. The "mercurial way" is that it should "just work" anywhere inside a repository, so it would be nice if this also was the case for hg4idea.
10.06.2010
Hey, how do I do a \"hg push\" and \"hg pull\"? I don\'t see either of them anywhere in the menu. Everything else is working well otherwise. I have the latest version of the plugin and PhpStorm.

Thanks!
08.05.2010
Cannot do much about this exception.
You can disable check for incoming changesets from Mercurial settings
Anonymous
07.05.2010
Already disposed: Already disposed
java.lang.AssertionError: Already disposed
at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:208)
at com.intellij.openapi.vcs.ProjectLevelVcsManager.getInstance(ProjectLevelVcsManager.java:46)
at org.zmlx.hg4idea.HgIncomingStatusUpdater$1$1.run(HgIncomingStatusUpdater.java:50)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:428)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:198)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:223)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:189)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:343)
at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:329)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:125)



java.lang.AssertionError: Already disposed
at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:208)
at com.intellij.openapi.vcs.ProjectLevelVcsManager.getInstance(ProjectLevelVcsManager.java:46)
at org.zmlx.hg4idea.HgOutgoingStatusUpdater$1$1.run(HgOutgoingStatusUpdater.java:50)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:428)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:198)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:223)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:189)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:343)
at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:329)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:125)



Anonymous
11.03.2010
thanks for the quick response, works with the latest build
11.03.2010
There is no support for old version, upgrade to 8.1.4
Anonymous
10.03.2010
when trying to install I get and error dialog with the message "hg4idea: error in opening zip file"

running intellij idea 8.1.3 on mac os x
Please  sign in  to leave a comment.