Defining Branches
Top  Previous  Next


CS-RCS supports project-level branches.

To define a branch:
1.Open the Document Explorer (refer to Using the Document Explorer Tool in CS-RCS Tools).  
2.From the Project drop-down list, select a project. Branches are not supported for the All Documents selection.  
3.From the Milestones menu, click Library to open the Milestone Library (refer to Using the Milestone Library in Working with Project Milestones).  
4.From the dialog box, click Add or Edit.  
The Edit Milestone dialog box appears (refer to Creating a New Milestone in Working with Project Milestones).  
5.Define the Milestone type as Branch.  
6.You can define a branch either by a specific date, by the symbolic name given to the revision (refer to Marking a Symbolic Name in Working with Project Milestones) or by importing a legacy branch created by GNU RCS. Therefore, specify the Milestone criteria as one of the following:  
·By date – Enter the time and date for this milestone. Open the date drop-down menu to display a calendar from which you can choose a date and year. In the Branch field, select a specific branch, to create a nested branch (i.e., a branch of a branch).  
·RCS symbolic name – Enter an RCS symbolic name that defines the branch (used mostly with legacy RCS files). You can specify a symbolic name that defines an existing RCS branch (e.g., 1.5.1). CS-RCS will recognize the legacy branch and import it without having to recreate it. If you specify a symbolic name that defines a revision number (e.g., 1.5), a new branch on this revision is created.  
7.Click OK to save the new settings.  
8.Click Close to close the Milestone Library.  
 
Tip: Defining a branch on large projects may be time consuming. Therefore, on step 5, it is recommended to first define the Milestone type as Normal and execute the Generate Report command to make sure the milestone is defined correctly. Then, re-edit the milestone and change its type to Branch.