Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Apply Version Control To Branches

Enterprise Architect enables you to apply version control to all packages within a selected model branch, in a single operation.

In this context, a model branch is a package that is currently selected in the Project Browser, and all of the packages contained within it.

The Version Control Configuration to be used in this operation must be defined within the model before selecting this command.

To apply version control to a model branch, follow the steps below:

  1. Right-click on the required package and select the Add Branch to Version Control context menu option. The Apply VC to Branch dialog displays.
     
    Dlg-ApplyVCtoBranch
     
  2. In the Select a Version Control Configuration field, click on the drop-down arrow and select the Version Control Configuration to use.
  3. If required, select the Export as Model Branch checkbox to export the selected package (and sub-packages) as a Model Branch.
  4. Click on the OK button. Enterprise Architect creates a number of sub-folders within the version control working copy folder, before exporting all of the packages within the selected model branch. Enterprise Architect generates package filenames using the package GUIDs, before adding the resulting files to version control.

If you have selected the Export as Model Branch checkbox, once the version control operation is complete Enterprise Architect also creates a Model Branch file (.EAB file). You can subsequently import the version-controlled Model Branch.