I would like to easily switch between the SVN trunk and one or more function branches using IntelliJ IDEA, preferably being able to work with several branches simultaneously. I have some βlocalβ configuration, such as database options for integration tests and debug logging, which I would like to continue to use and not bind to SVN.
What are the pros and cons of the various options, is there one way that easily hits others? Here are some possible approaches that I can think of more ?:
Using "SVN - Directory Updates" to replace the current branch with another.
Does not allow working with multiple branches at the same time.
Creating a module for each branch in one project.
It seems to cause problems when clicking on the stack names / class names coming into the wrong module, is it easy to accidentally detect modules by mistake, etc.?
Create a separate IntelliJ project for each branch.
More redundant with separate settings for each project, more work, so that everything is synchronized between projects. Less risk of accidental operation with the wrong branch.
source share