Selecting the Active Branch
Top  Previous  Next


To select a specific 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 the project that the branch is a part of.  
3.From the Branch drop-down list, select the desired branch.  
 
OR  
 
1.Open the Document Explorer (refer to Using the Document Explorer Tool in CS-RCS Tools).  
2.From the Project menu, click Set Active Project.  
3.The Select dialog box appears displaying a project tree.  
4.From the project tree, select the desired project the branch is a part of.  
5.From the Project menu, click Set Active Branch.  
6.The Select dialog box appears displaying a branch tree.  
7.From the branch tree, select the desired branch.  
 
Switching the active branch updates the current working area with the last revision of the selected branch. All CS-RCS commands (including CS-RCS integration with development tools) are applied to the selected branch.

Try the following exercises:

·Use Check-out to lock the head revision within a branch. Apply Check-in to check-in a new revision within the branch.  
·Use Add to RCS to add a new file within the branch. If you later merge the branch to the trunk, the file will be added to the trunk as well.  
·Use Delete to remove a file within the branch. If you later merge the branch to the trunk, the file will be deleted from the trunk as well.  

Note: You must check-in all Modified files that are in the project before you switch from branch to branch. Refer to Branch Development Scenarios for more details.