This Question is Not Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
2 Replies Last post: Jan 18, 2013 9:58 PM by Steven Scott  
Steven Scott Newbie 2 posts since
Jan 18, 2013
Currently Being Moderated

Jan 18, 2013 9:29 PM

Disable subversion without disabling the plugin?

We're using Git for source control, and Jira for issue management. The Jira plugin requires the Subversion plugin, so I can't disable subversion (I realize I may have to bug Atlassian about changing that).

 

I switch between branches frequently that build different maven modules, so IDEA adds & removes modules when I switch. Whenever a module is added, a Subversion VCS root is added for the module...so every time I switch branches I have to open preferences, go to Version Control, and delete all the subversion roots (otherwise everything shows in red for those modules and Git integration won't work).

 

Is there any way to keep the Subversion plugin from adding VCS roots for new modules?

Mark Vedder Apprentice 808 posts since
Dec 10, 2003
Currently Being Moderated
Jan 18, 2013 9:46 PM in response to: Steven Scott
Re: Disable subversion without disabling the plugin?

The only reason, that I can think of, of why IntelliJ IDEA would automatically add a subversion root to the Version Control settings is if it detects a .svn directory.  Does your source have .svn directories? (Remember, the .svn directory is normally a hidden directory.) .svn directories may be present if the project was ported from Subversion to Git. If you delete those it should resolve your issue.

 

I do not believe there is any way to turn off the auto discovery behavior.

More Like This

  • Retrieving data ...