title: “Unregistered Git root detected” because parent directory of project is versioned by Git
body: <p>I set up a PyCharm project <code>/parent/project</code>, that is managed by Mercurial at <code>/parent/project/.hg</code>. Independently of this project, <code>/parent</code> is managed by Git at <code>/parent/.git</code>.</p>
  
  <p>Unfortunately, this causes PyCharm to complain: "Unregistered Git root detected: The directory /parent is under Git, but is not registered in the Settings."</p>
  
  <p>What's a clean solution for this?  Ideally, I would like PyCharm to simply ignore any repos in directories above the project directory itself.</p>