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.

Note: 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.

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

7. Click OK to save the changes.