blob: d79a6cee142e52eb7b8826f59cc28799beeb0e9a [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<HEAD>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
<title>Branching</title>
<meta name="keyword" content="team">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>Branching</H1>
<P>Creating a branch and releasing resources to that branch is useful in cases
where you are not yet ready to put your changes in the main development flow.
It is also useful for creating incremental patches to existing versions.
</P>
<P>To create a branch:
</P>
<ol>
<li>From the context menu of the project, select <b>Team &gt; Branch</b>.
<p><img src="../images/cvs_new_branch.png" alt="Create a new CVS Branch dialog" border="0">
</p></li>
<li>Enter the Branch Name for the new branch in the text area.</li>
<li>A default version tag name will be proposed by the dialog. If you do not like the suggested name, you can change
it in the text area.</li>
<li>If you would like to start working in the branch immediately, make sure
the checkbox is selected.</li>
<li>Click <b>OK</b>.</li>
</ol>
<p><em>Note:</em> The Version Name is important; you will need this when you want
to merge your changes later on. It identifies the point at which the branch
was created.
</p>
<p><img border="0" src="../images/ngrelc.png" alt="Related concepts" ><br>
<a href="../concepts/concepts-26.htm">Team programming with CVS</a><br>
<a href="../concepts/concepts-27b.htm">Branches</a><br>
<a href="../concepts/concepts-30.htm">Synchronizing with a CVS repository</a>
</p>
<p><img border="0" src="../images/ngrelt.png" alt="Related tasks" ><br>
<a href="tasks-115.htm">Synchronizing with the repository</a><br>
<a href="tasks-100b.htm">Merging from a branch</a>
</p>
<p><img border="0" src="../images/ngrelr.png" alt="Related reference" ><br>
<a href="../reference/ref-47.htm">CVS</a>
</p>
</BODY>
</HTML>