Before branching, you need a project to branch into. For the purpose of this lesson, create a new project in the Branch Lessons folder as shown: right-click in an empty space of the list view on the right side of the database explorer, choose New > Project... Enter a name for the new project, e.g. "2-2 Branch [username]", and press OK. |
![]() |
The new project will appear in the Branch Lessons folder. Now start the "Branch Modules" script as shown in Lesson 1. |
![]() |
Select the target project to branch the module into by pressing the Browse button. |
![]() |
Choose the new project in the Branch Lessons folder that you created and press the OK button. |
![]() |
You see that the project appears in the text field. Choose the module baseline to branch by pressing the Select Modules button. |
![]() |
Using the Tag List Editor that appears, navigate to the Module X in the project you branched in the previous lesson. Double-click the "0.0" baseline. After you have chosen the baseline, press the Use selected Modules button. |
![]() |
You see that the module and baseline now appear in the module list. Press the Start Branch Copy button to start the branch process. |
![]() |
After you press the Start Branch Copy button the branch process will begin. A small dialog box will appear announcing the various stages of the branching process and showing the total advancement with a progress bar. When the branching is complete, an information box will appear. Press the OK button |
![]() |
The focus returns to the Branch Copy GUI. We are finished with it, so press the Close button |
![]() |
You can see that Module X has been copied to the project you created. |
![]() |
Let us analyze the newly branched Module X to understand its "Branch History" attributes. Open the newly branched Module X, and choose the File menu, option Module Properties... |
![]() |
Select the "Branch History" module attribute and press the View/Edit... button. |
![]() |
You can see here the contents of the "Branch History" module attribute. There are four lines. We will go through each. |
![]() |
The first line shows that the original Module X, the one created with the setup script, had a baseline created of "1.0" (red underline). The yellow underlined part is the module’s internal ID, which consists of the database ID, colon (":"), then its unique module ID. |
![]() |
The second line shows that the original Module X, the one created with the setup script, had a baseline created of "1.1". |
![]() |
The third line shows that the original Module X baseline "1.1" (red underline) was branched to the project you created in lesson 1 as baseline "0.0" (yellow underline). |
![]() |
The fourth line shows that the Module X baseline "0.0" branched in the first lesson (red underline) was further branched to the project you created in this lesson as baseline "0.0" (yellow underline). |
![]() |