26.04.2015 Views

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

get the benefit of the stabilization changes you made prior to release. After a final release<br />

build has been created, you can merge the changes from the Release branch back into<br />

your <strong>Development</strong> and Main (integration) branches.<br />

Additional Resources<br />

• For an introduction to branching and merging, see “Branching and Merging Primer”<br />

at http://msdn2.microsoft.com/en-us/library/aa730834(VS.80).aspx<br />

• For more information about branching, see “How to: Branch Files and Folders” at<br />

http://msdn2.microsoft.com/en-us/library/ms181425(VS.80).aspx<br />

• For more information about merging, see “How to: Merge Files and Folders” at<br />

http://msdn2.microsoft.com/en-us/library/ms181428(VS.80).aspx<br />

• For additional descriptions of how to branch and merge in <strong>Visual</strong> <strong>Studio</strong> 2005, see<br />

“Branching and Merging <strong>Team</strong> <strong>Foundation</strong> Source Control” at<br />

http://msdn2.microsoft.com/en-us/library/ms181423(VS.80).aspx<br />

How to Use Branching to Maintain a Previous Release<br />

Use maintenance branches to support previously released builds. This is very similar to<br />

branching for release, but at this point the branch is maintained over time in order to<br />

support the release.<br />

The following is an example of what your branch structure might look like after you have<br />

released your application and maintain a branch to support the release:<br />

• Main – Integration Branch<br />

o Source<br />

o Other Asset Folders<br />

• Releases – Container for release branches<br />

o Release 1 – Maintenance Branch<br />

• Source<br />

• Other Asset Folders<br />

Keep the following recommendations in mind when working <strong>with</strong> a maintenance branch:<br />

• When to branch – After you have released, support the release <strong>with</strong> a branch in<br />

the Releases folder.<br />

• When not to branch – If you will never need to maintain the release, you can use<br />

a label to mark the old released build and continue work in the main branch.<br />

• Permissions on branch – Assign read/write permissions to developers working<br />

on hot fixes, and read-only permissions to everyone else.<br />

• Build frequency in branch – The builds are performed on-demand.<br />

• Testing focus in branch – Sign off on release.<br />

You should use maintenance branches to support an older version of your application.<br />

You might choose to merge these changes into your Main (integration) branch, or leave<br />

them specific to the maintenance branch.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!