Call For Input: Branch Development Syncing Issue

All of the code we write must be tested and accepted by users before it can go into production.  Which brings about a unique possibility of a syncing issue when we are doing so in a branch development scenario.

The image below is a great reference.  Say we have two imaginary branches, one for features and two for production fixes. In reality there would probably be a branch for every production fix and multiple branches for on-going development.  The trunk is code that has been released to production.

We are doing our development in branch one. Every once in awhile we integrate changes from the trunk because it reflects production code (and we want to make sure we have that integrated in our code).We hit a code lock down period before production where all changes need to be tested.  In a branching development scenario, we would need to merge all changes from the mainline BEFORE we start our regression testing (integrate and test). 

This testing before a release to production could take awhile, and by awhile, anywhere from a couple of days to a couple of weeks.  What if after we do our final merge up from the trunk to the branch and begin testing, there is an emergency change that goes into production? Do we pull that back up (integrate the new changes that went into prod) and start our testing over? If there are several issues (that keep requiring emergency fixes), would we ever get out of testing?

BranchDevelopmentSync

Print | posted @ Thursday, October 23, 2008 1:34 PM

Comments on this entry:

Gravatar # re: Call For Input: Branch Development Syncing Issue
by Essam at 11/15/2008 4:31 PM

Hi -
Just wanted to share my experience here ...
I like to keep the trunk for on going development, and when release a version to production I tag it (I use SubVersion)
When a fix is needed on production, the tag will be converted to a branch, the fix is applied and if needed will be applied (or merged) to the trunk
does it make sense to you !
Gravatar # re: Call For Input: Branch Development Syncing Issue
by Robz at 11/17/2008 11:13 PM

Essam: This makes sense, but really doesn't address the question of QA testing an application that has constant production fixes (hopefully not your app).
Gravatar # re: Call For Input: Branch Development Syncing Issue
by jeffery at 8/13/2009 10:47 PM

Can I have a number to sombody that know how to make htc pro into a modem
Comments have been closed on this topic.