Convention for branched svn projects?
Let's say I have /trunk/MyApp and /branches/MyApp/VERSION_1
should I have a seperate IDEA project for each to be safe? I know there have been some issues re: IDEA's switch interface (http://www.jetbrains.net/devnet/thread/269706)
so I am wondering if people are just using separate idea projects (or modules) to hande each location.
请先登录再写评论。
You better should have /MyApp/trunk and /MyApp/branches/VERSION_1.
Tom
Yes, from past discussions I'd say that most people simple check out the
branch to a different directory. If you have *.ipr and *.iml in version
control too, then you can simply open the branched project from the new
location.
I have never experienced any problems this way.
OTOH there had been a couple of issues when you simply switch your project.
I don't know, though, which of those issues are still unresolved.
To be safe, I'd say, do a separate checkout.
Vincent Storm wrote:
I have a seperate project for trunk and any branches I work on. I put the .ipr and .iml files under source control and you can open the branches from those.
The switch command is actually an update command so you can get conflicts.