PhpStorm - Mercurial + BitBucket Integration

Hello,

I started using PhpStorm a month ago and since now I have been using Git + BitBucket integration to mantain my projects version controlled, without problem.

However, now I must start using Mercurial because of some restrictions in the company I am working in.

The problem is, I just can't define a remote server repository in order to push there my commits. I have tried pushing my project using hg commands from terminal and I have been able to do so, but in PhpStorm I just can't find the way to define my remote BitBucket repository due to the fact that when I go to VCS --> Mercurial --> Push, and I click on 'default -> Enter remote' it just does nothing; any window nor form to enter my remote URL appears.

I am using PhpStorm 10.0.3 under CentOS 6.

Any help?

Thank you!

David

4 comments
Comment actions Permalink

Hi David,

Could you please confirm that you are able to push the changes by running `hg push` inside the project directory?
The thing is that this 'Default' URL is taken from hgrc, so if it works the way above, you have no reason to change anything there.

0
Comment actions Permalink

Hi Eugene,

You are right, PhpStorm gets the repository URL from the .hg/hgrc file; however, this was not working either.

Finally I solved it by uninstalling my Mercurial 2.2.2 version and I installed the Mercurial 3.7.1 version and PhpStorm recognized the URL from the .hg/hgrc file.

Thank you anyway!

David

0
Comment actions Permalink

Is there finally a way to define a remote repo (like bitbucket) for the mercurial project. It is so stupid to be paying for this software and not being able to just paste a bitbucket url into some dialog, and let phpstorm create the .hg/hgrc file on the fly.

0
Comment actions Permalink

Nope, it's still not implemented yet: https://youtrack.jetbrains.com/issue/IDEA-159921. Please give it a vote or comment if you have time.

0

Please sign in to leave a comment.