PyCharm and source control, the .idea directory, commit or not commit, that is the question

I started a new PyCharm project and want to version it with Mercurial.

There is a .idea directory in the project directory with the following files (and my assumption about whether to version them or not)

  • .name - contains the name of the project (version: yes)
  • encodings.xml - contains defaults(?) for text file encoding (version: yes)
  • misc.xml - contains something about components, and which Python executable to use (version: no - because it hard-codes the path to python.exe)
  • modules.xml - contains a list of modules, with the name of the project in them (version: yes)
  • ProjectName.iml (version: yes)
  • vcs.xml - specifies which VCS to use (version: yes
  • workspace.xml - seems to list layout information for PyCharm windows (version: no)

Are my assumptions correct?

9
задан Lasse V. Karlsen 18 February 2011 в 09:11
поделиться