Creating labels

Create a new label when you need to mark related file revisions in a branch, such as files affected by a bug fix. This is helpful when related files are stored in different repositories and you need a way to group the files.

You can create labels for a mainline branch or a specific branch. The label can only be applied to labels in the branch it is created in.

You can also create labels when you add, check in, and promote files, or label a file version in a committed changelist or the file history.

1. Select the mainline branch to create the label in.

2. Choose Tools > Labels.

The Labels dialog box opens.

3. Click Add.

The Create Label dialog box opens.

4. Enter a Label name and Label description.

5. Select a Label Scope option.

  • Mainline makes the label available to all branches in the selected mainline branch. The mainline branch name is read-only.
  • Branch makes the label available only to the selected branch. Click Browse to select a branch.

6. Select Hidden to hide the label. Users cannot apply hidden labels to files or repositories.

7. Click OK to save the changes.