Why do VCS changes disappear from the changes view when using IntelliJ 11 and Mercurial?

I'm using IntelliJ Ultimate 11.1 with the bundled HG plugin. When I change a file it appears in the changes view but disappears when I switch to another app. TortoiseHG still sees the change, i.e. 'hg status' shows the files, but IntelliJ just doesn't show it.
I have tried changing the configuration options but without success.

2 comments
Comment actions Permalink
  1. What OS are you on? Our team uses IDEA 11 & Mercurial. We have not experienced this on Windows or Mac. But IDEA-77629 does report some problems (similar to what you mention) on Linux (or at least Ubuntu).
  2. Where is your .hg repo located relative to your IDEA Project Configuration? IDEA-56167 reports a problem that changes are not detected if the .hg directory is above the project directory. We are configured with the .hg directory in the project directory (i.e. the .hg and .idea directories are siblings) and have not had issues.
  3. You might want to take a look at any other mercurial related bug reports and see if something applies to your situation.
  4. You can also try the IntelliJ IDEA 12 EAP (Early Access Program) version and see if the issue persists. There have been several mercurial bug fixes and enhancements in IDEA 12 already.
0
Comment actions Permalink

Its was down to registering the wrong directory in IntelliJ.

Thanks for the help.

0

Please sign in to leave a comment.