Problems Compiling When Using CVS

I have an issue filed in YouTrack that is currently marked as a Scala
issue, but it also applies to Java files and should be moved to a
different category.

The problem is that CVS is creating a copy of the original source file
in one of it's directories and IDEA is NOT ignoring the contents of the
CVS directories. This is causing it to compile both copies of the file
and getting an error message.

I was having this problem with 12.1.6, but it is also present in the
Cardea builds, including 132.839.