How do I switch to another subversion branch in Intellij?
JavaSvnVersioningIntellij IdeaBranchJava Problem Overview
What is the concept of switching branches in IntelliJ? I must be either blind or an idiot...
I would assume there'd be a "switch to copy" option or something like that, but there is none...
EDIT for clarification: my prev IDE had a simple "switch to copy" option, which updated all files being different from current branch/trunk. IntelliJ seems to have a completely different approach to this, which I just do not seem to understand. The help is not very useful either.
Helpful keywords, links or hints are very much appreciated. Thanks.
Java Solutions
Solution 1 - Java
Just discovered switching branches is done using the update dialog (VCS -> Update Project, ⌘T), where I can select any branch, tag or revision I want.
Solution 2 - Java
For noobs like me that checked the "don't show this again" box in the beginning, and don't have the subversion update dialog prompting anymore, try this:
- Use the command menu "Version Control" -> Show Changes View
- In this view, go to tab "Subversion Working Copies Information"
- Here you should find a "Configure Branches" link were you should be able to switch trunk & branches
If I may say, this seems quite complex, if anyone has better, I would be glad to hear :-)
Solution 3 - Java
Just use the "Subversion" -> "Update Directory..." with options. In case the "Update options" dialog is turned off, here is how one can move it back:
- Go to: "Settings" -> "Version Control" -> "Confirmation"
- Check the box "Display options dialog ..." for "Update"
Solution 4 - Java
If like me you hit "configure branches", and then chose the path of the branch you want - this is wrong! when in "configure branches" you need to select the path one level up from there
hopefully this helps someone like me...