All New Files In Module Are Ignored by IntelliJ for SVN

Answered

I'm using SVN for a multi-module project.  At some point recently, every new file I add to one of my modules (a Java EE module) gets automatically added to the ignore list.  I have tried changing the Confirmation settings to add each new file silently instead of asking first, but it doesn't make a difference.  I removed everything from my ignore list as well (these were only the Maven output folders and some .metadata folders initially), but it made no difference either.  I end up with a file tagged with the ignore color and the only SVN option I have for the file is "Revert".  I use TortoiseSVN on my computer and I'm able to add a file to the SVN repository from a basic Windows Explorer window, and then I can synchronize the file in IntelliJ and commit changes and other basic SVN operations.

 

My modules use Maven and everything in the specific module settings is appropriate as far as the "Sources", "Resources", "Excluded" options go (i.e. .idea and .metadata are "Excluded", src/main/java is the root "Sources" folder, src/test/java is the root "Tests" folder, etc.)

1
2 comments

Please make sure the module folder is not added to the Settings - Version control - Ignored files.

Looks like the entire directory is excluded, and thus all new files in it are excluded by default.

1
Avatar
Permanently deleted user

I had the same issue, it took me a while to fix it.

I use TortoiseSVN 1.11.1 and Android Studio 3.4.

These are my steps:

1. Open the TortoiseSVN properties dialog: Right click at svn repository folder (which mean your project folder), right click menu -> TortoiseSVN -> Properties.

2. Remove all properties (make sure backup if there's something important).

Done.

1

Please sign in to leave a comment.