Update project, then select the branch in the dialog that appears?! (If no dialog appears then check Settings -> Project Settings -> Version Control -> "General Settings" tab -> Display options dialog -> Update)
But usually I simply check out both branches separately and have two Idea projects.
dota168 wrote:
How do I do a "svn switch"?
Sample scenario: switch to a branch, implement fix in a branch, commit it to that branch and switch back to trunk.
Actually the Update with switch option checkbox checked in IDEA 7.0.1 is not working. It will mess up the whole project half of the files being switched and half not.
I had to use Switch in TortoiseSVN to get to usable project again.
Actually the Update with switch option checkbox checked in IDEA 7.0.1 is not working. It will mess up the whole project half of the files being switched and half not.
I had to use Switch in TortoiseSVN to get to usable project again.
One more thing. Today I did another switch. This time I did not bother to do it in IDEA and did it directly in Tortoise. After going back to IDEA all files have been refreshed. At least it looked like it. But then I could not compile. Some files have been in old version even that the version history in IDEA reports contrary. After IDEA restart everything is ok.
This brings back another issue that you can't tell in IDEA which file version you have (for SVN). Obviously SVN history window is misleading sometimes. For CVS there used to be a special browser window which I used to like.
Update project, then select the branch in the dialog that appears?!
(If no dialog appears then check Settings -> Project Settings -> Version Control -> "General Settings" tab -> Display options dialog -> Update)
But usually I simply check out both branches separately and have two Idea projects.
dota168 wrote:
Actually the Update with switch option checkbox checked in IDEA 7.0.1 is not working. It will mess up the whole project half of the files being switched and half not.
I had to use Switch in TortoiseSVN to get to usable project again.
Hello Steve,
Same here. Reported at http://www.jetbrains.net/jira/browse/IDEA-16435
Best,
Andrei
One more thing. Today I did another switch. This time I did not bother to do it in IDEA and did it directly in Tortoise. After going back to IDEA all files have been refreshed. At least it looked like it. But then I could not compile. Some files have been in old version even that the version history in IDEA reports contrary. After IDEA restart everything is ok.
This brings back another issue that you can't tell in IDEA which file version you have (for SVN). Obviously SVN history window is misleading sometimes. For CVS there used to be a special browser window which I used to like.
So don't forget to restart IDEA!
Worked fine for single files. Thanks for the tip.
double post. sorry
Message was edited by:
dota168