Authors:
viacoban
logos

hg4idea

Vendor: Victor Iacoban

Email:

Website: N/A

License: license url

Description:

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
Downloads: 9359
Rating:
Participated in rating: 14
Version Since Build Until Build File/URL Size (Kb) Date Dependency
0.6.14-8.1.4. 85.9952. 85.9999. Download 273.84. 2010-02-01 19:02:22 .
0.6.14-7.0.5. 75.7971. 75.7999. Download 512.03. 2010-02-01 18:42:08 .
. .

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.

Comments:

viacoban
Rated: noRate
2010-07-23 02:02:04
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
Rated:
2010-07-23 01:43:25
great plugin, but latest release of intellij (9.0.3) seems to break this.. any plans on updating it?
.
Anonymous
Rated:
2010-06-28 14:06:19
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.
.
Anonymous
Rated:
2010-06-25 03:57:56
.
danberlyoung
Rated:
2010-06-10 22:43:40
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!
.
viacoban
Rated: noRate
2010-05-08 19:31:29
Cannot do much about this exception.
You can disable check for incoming changesets from Mercurial settings
.
Anonymous
Rated:
2010-05-07 13:14:40
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
Rated: noRate
2010-03-11 07:15:59
thanks for the quick response, works with the latest build
.
viacoban
Rated: noRate
2010-03-11 04:35:54
There is no support for old version, upgrade to 8.1.4
.
Anonymous
Rated: noRate
2010-03-10 23:44:07
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
.
viacoban
Rated: noRate
2010-03-09 17:41:38
It was not tested against PyCharm that's true, but PyCharm is using same platform as IDEA so in theory it should work.

Please open an issue in bugtracker will try to help

Please provide following info:
* your os
* your mercurial version
* pycharm build
* in plugin manager check what version of hg4idea you have installed
* is it showing in red?
.
Anonymous
Rated: noRate
2010-03-09 08:37:15
I followed the installation wiki but no luck. It simply doesn't pick up changes. Maybe it isn't meant to work with PyCharm yet?
.
Anonymous
Rated: noRate
2010-03-05 20:08:03
http://bitbucket.org/viacoban/hg4idea/wiki/Installation
.
Anonymous
Rated: noRate
2010-03-05 10:20:12
I can't figure out how to use it. None of my changes show up in the changes tab.
.
Anonymous
Rated: noRate
2010-01-17 08:41:34
I am using the EAP version.
.
viacoban
Rated: noRate
2010-01-15 23:18:39
I do not support git version,
but I do support EAP version.

You missed to include what version of plugin you have installed, so I'll have to guess.

My guess is you are using 0.6.13-9.0 which is enabled for idea up to version 93.9999 and since you have idea 94.116 hg4idea plugin is showing in red.

I'd suggest you upgrade to 0.6.13-9EAP of hg4idea which is supposed to be working for EAP+ versions, it might even work for your 94.116
.
Anonymous
Rated: noRate
2010-01-14 20:21:21
I forgot to mentions that the git version is currently 94.116
.
Anonymous
Rated:
2010-01-14 20:19:34
I've been keeping up with the latest git version of the community edition and the hg4idea plugin doesn't work. It doesn't show up in the available plugins list and if I install it manually, it shows up in red and doesn't load.

Any advice appreciated.
.
viacoban
Rated: noRate
2010-01-05 17:03:18
Thanks for your feedback,

This is a known issue #58,
as a temporary solution you can enable mq extension in your .hgrc:

[extensions]
hgext.mq =
.
Anonymous
Rated:
2010-01-05 15:56:36
I cannot update, I always get the error "Cannot update with applied MQ patches, please use rebase"

$ hg version
Mercurial Distributed SCM (version 1.4.1+20091201)

MQ extension is disabled.


http://bitbucket.org/viacoban/hg4idea/src/b47c740d0442/src/org/zmlx/hg4idea/provider/update/HgUpdaterFactory.java
.
Anonymous
Rated: noRate
2009-12-14 21:07:33
Thanks for the updated build, still failing in Community Edition: build number IC-90.193
.
viacoban
Rated: noRate
2009-12-10 17:40:45
Should work now with WebIDE and RubyMine.
hg4idea is not supported on these platforms, use at your own risk
.
Anonymous
Rated: noRate
2009-12-10 14:46:54
Does not work with WebIDE 94.5 :(
.
viacoban
Rated: noRate
2009-12-09 22:20:51
I know,
If I enable it for Community edition it's also visible for WebIDE and RubyMine what I don't want to support.

It works fine if you download and install manually
.
Anonymous
Rated: noRate
2009-12-09 22:10:52
This plugin does not show up for Communinity Edition 9.0.
.
viacoban
Rated: noRate
2009-12-04 20:10:22
I'm using hg4idea in community edition, you should be using 0.6.11-9EAP of hg4idea,

by the way what version of community edition are you using? try to update to the last eap
.
Anonymous
Rated: noRate
2009-12-04 20:00:44
I'm trying to use hg4idea in the Community Edition (maybe that's the problem?). If I use the Plugins screen to load it I get the 8EAP version; if I manually install then it won't load (shows red in Plugins screen).
.
viacoban
Rated: noRate
2009-12-03 02:08:26
Anonymous,
Thank you for your feedback
Plugin manager in idea already displays version of plugin, so in your case it should've shown 0.6.11-9eap which obviously wrong if you are using idea 8.

Regretfully that description is general and is updated from the latest plugin I upload
.
Anonymous
Rated: noRate
2009-12-03 01:58:25
Hi, I've used hg4idea with IDEA 8.1.4 until today, when I updated (using integrated plugin manager) from 0.6.10-8EAP to 0.6.11. This obviously didn't work, but I did not notice it. Please could you update the "Change Notes" (shown in the Plugin Manager) too, with hints like "Only for IDEA vX.Y"? This would be very useful, since IDEA neither does verify version requirements, nor does it support installing a older version of same plugin.
Thanks in advance.
.
Anonymous
Rated: noRate
2009-12-02 23:46:48
I'm having trouble installing hg4idea plugin in webide 90.701 on ubuntu. It is showing up as red (incompatable). Any one else having this trouble?
.
merjadok
Rated:
2009-11-25 18:05:32
Thanks,

I updated it manually and everything works as expected.
.
viacoban
Rated: noRate
2009-11-25 17:10:46
You have to upgrade hg4idea to 0.6.10-8EAP
.
merjadok
Rated: noRate
2009-11-25 11:10:49
Hello,

just wanted to inform you that plugin stopped working in 8.1.4 update - it is marked with red in plugin list as incompatible. I suspect that this has nothing to do with some IDEA API changes because 8.1.4 was just bugfix release (as far as I know).

Thanks,
.
Anonymous
Rated:
2009-10-16 13:04:35
> 'Version Control' -> 'Refresh File Status' always work for me.

Thanks! It helps, and it's better than project reopening.

How to reproduce: commit files from command line and switch to IDE (also you can press Synchronize).

P.S. File system synchronization (Ctrl-Alt-Y) triggers Subversion file statuses refresh. It's really convenient.
.
viacoban
Rated: noRate
2009-10-09 17:13:24
'Version Control' -> 'Refresh File Status' always work for me.

If you still think it's a bug pls open a bug in bugtracker, ideally with steps to reproduce

Thanks for your feedback
.
Anonymous
Rated: noRate
2009-10-09 12:09:14
The plugin doesn't refreshes files status if commit from command line even on synchronize button press (so need project reopen after commit).

OS: linux
Idea version: 10781 (after 9m1)
.
Anonymous
Rated: noRate
2009-08-11 19:03:01
Glad to here that.
Unfortunately i'm not familiar with IDEA devkit, but that's a good reason to catch up :).

Thanks and good luck, Oleg.
.
viacoban
Rated: noRate
2009-08-11 18:35:48
No it's not dead,
if you'd send a patch I will release it
.
Anonymous
Rated:
2009-08-10 21:22:09
Seems to be dead?

Browse history and view incoming is musthave for me...
.
viacoban
Rated: noRate
2009-04-22 17:09:32
Browse repository and view incoming changes are next on the todo list
.
juliocamarero
Rated: noRate
2009-04-22 14:51:32
Hi viacoban,

I've been having a look at the plugin and I can't find a way to browse the repository. Is there a way to do it or is it the roadmap?

Thanks a lot
.
viacoban
Rated: noRate
2009-03-25 19:09:59
Thanks,
Why do you think it worths 4 stars?
Do you find it missing something important for your?
.
Anonymous
Rated:
2009-03-25 18:33:18
It seems to work a lot better than the other mercurial plugin available for IDEA.
.
Anonymous
Rated:
2009-01-02 21:03:38
.
Anonymous
Rated:
2008-12-19 15:03:23
thank you for fixing the issue! I just wanted to let you know that I really appreciate your work and the plugin is getting better and better!
.
viacoban
Rated: noRate
2008-12-19 07:09:00
issue fixed in 0.4.1
.
viacoban
Rated: noRate
2008-12-19 06:16:46
Anonymous,

Thank you for your report.
Looks like it's caused by java version mismatch.

Please use issue tracker to report bugs
http://www.bitbucket.org/viacoban/hg4idea/issues/

Thanks
.
Anonymous
Rated: noRate
2008-12-19 01:08:06
I get this exception when trying to compare (java5, os x, hg4idea 0.4, hg 1.1):
Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(97,21),button=1,modifiers=Button1,clickCount=1] on ###overrideRedirect###: java.lang.String.getBytes(Ljava/nio/charset/Charset;)[B
java.lang.NoSuchMethodError: java.lang.String.getBytes(Ljava/nio/charset/Charset;)[B
at org.zmlx.hg4idea.HgFileRevision.loadContent(HgFileRevision.java:71)
at com.intellij.openapi.vcs.vfs.VcsVirtualFile.loadContent(VcsVirtualFile.java:72)
at com.intellij.openapi.vcs.vfs.VcsVirtualFile.contentsToByteArray(VcsVirtualFile.java:61)
at com.intellij.openapi.vcs.vfs.AbstractVcsVirtualFile.getLength(AbstractVcsVirtualFile.java:114)
at com.intellij.psi.SingleRootFileViewProvider.a(SingleRootFileViewProvider.java:59)
at com.intellij.psi.SingleRootFileViewProvider.isTooLarge(SingleRootFileViewProvider.java:160)
at com.intellij.psi.SingleRootFileViewProvider.a(SingleRootFileViewProvider.java:168)
at com.intellij.psi.SingleRootFileViewProvider.(SingleRootFileViewProvider.java:10)
at com.intellij.psi.impl.file.impl.FileManagerImpl.createFileViewProvider(FileManagerImpl.java:143)
at com.intellij.psi.impl.file.impl.FileManagerImpl.findViewProvider(FileManagerImpl.java:129)
at com.intellij.psi.impl.file.impl.FileManagerImpl.findFile(FileManagerImpl.java:68)
at com.intellij.psi.impl.PsiManagerImpl.findFile(PsiManagerImpl.java:117)
at com.intellij.lang.properties.editor.ResoureBundleEditorProvider.accept(ResoureBundleEditorProvider.java:15)
at com.intellij.openapi.fileEditor.impl.FileEditorProviderManagerImpl.getProviders(FileEditorProviderManagerImpl.java:2)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:266)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$5.run(FileEditorManagerImpl.java:3)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:33)
at com.intellij.openapi.comma
.
Anonymous
Rated:
2008-11-11 03:51:43
.