![]() |
![]() |
![]() |
To branch or not to branch. I've been using Subversion for awhile, and now since I've got a web browsing facility that actually works pretty well (more information here http://www.baus.net/archives/000069.html), I have to say I'm pretty happy with it...
christopher baus (www.baus.net)
Robert
This can work if people keep in sync frequently.
son of parnas
We use extensive branching similar to what you are describing and it works very well for our purposes. Our team has four developers and five products built on a common set of core capabilities.
bud
I'll take the bait. Explain how arch's merging is better than subversion's? My feeling with arch is that it isn't ready for production. Does arch suport a three way (trunk, branch, and common) merging like Perforce?
christopher baus (www.baus.net)
Merge changes early and often.
Doug Withau
The advantages are:
christopher baus (www.baus.net)
The disadvantage is that integration becomes a specific and sizeable task, especially if you're going to merge a bunch of these things at once.
Brad Wilson (dotnetguy.techieswithcats.com)
The one thing I like about the integration (at least in concept) is it forces a code re-review. Currently code gets checked into the main branch and it is forgotten. Now code will have to be checked into the development branch and slowly promoted to the release branch, where the implications will have to be carefully considered. I guess I'd like some real world examples of this working or not working.
christopher baus (www.baus.net)
Christopher, i have seen the opposite. The problem
son of parnas
You should only branch as a last resort. It's a lot easier to maintain a single version of your code, and continuous test that your latest and greatest code always works. That way, you only have one version to maintain. And you don't have to waste time merging branches.
Julian
Be really really sure that you want to do this, it can get awfully complicated. Whether it is worth the effort or not depends entirely on your situation.
I would recommend reading this whitepaper which discusses different styles of using branches, especially the section about the pitfalls of certain styles. I would advise that too many concurrently active branches is a receipe for disaster.
Mark Johnson
|