Problem with .idea file and Mercurial

I create a Django project with PyCharm and then I move it in a Mercurial repository (for .idea directory files I follow this instructions http://devnet.jetbrains.net/docs/DOC-1186).

Than I clone the project in another computer and when I open it with PyCharm the toolbar "Select Run/Debug Configuration" combobox is empty.

I try different things but I can solve the problem only removing .idea/<project name>.iml file.

Note that things go wrong even if the original <project name>.iml is equal to the one created by PyCharm itself.

Sorry for my English and thank for your help.

7 comments

If you want to share the list of run configurations in the project between  multiple machines, you need to check the "Share configuration" checkbox in the  run configuration settings (Run | Edit Configurations).

0

> If you want

This is not a choice if I must to "Share all the files under .idea directory ..., also share all the .iml module files." (http://devnet.jetbrains.net/docs/DOC-1186), isn't it?

0

If the "Share configuration" checkbox is not checked in the run configuration settings, the run configuration will be stored in workspace.xml, which is not supposed to be stored in a VCS.

0

Ok, then if the "Share configuration" checkbox is not checked in the run configuration settings I must manually create a "run configurations" in all the computer that clone the project?

0

Please sign in to leave a comment.