You can use labels to:
To use labels, you first define the label and then apply the label to file revisions in the depot. When you define a label, you specify a label view, which limits the files to which the label can be applied.
Enter a description of the label.
The Description field accepts HTML tags for marking up and hyperlinking text. For details, see Formatting text in Description fields.
Specify the label view one of two ways:
To label a file, it must be in the label view and synced to your client workspace.
Choose whether to label the latest revision of the files or a specific revision.
You can specify a revision by revision number, changelist, date/time, workspace, or other label.
To remove a label from a set of files:
Select a file and choose Actions > Label.
The Label Files dialog is displayed.
To display the labels defined for the
Helix Server
depot to which you are connected, open the Labels tab (click the
Labels icon in the toolbar or go to
View > Labels).
To search for labels, use the filter fields on the Labels tab. You can filter by any combination of the following:
File paths
You can enter as many file paths as you like. The filter retrieves labels associated with all files in all file paths entered (restricted by any owner and label name included in the filter). You can use the File Path Builder to construct file paths.
Global labels display as gray when you are connected to an edge server. Grayed-out labels are not editable when you are connected to the edge server, regardless of permissions, but you can still use them.
For more information on using filters, see Searching and filtering.
You can edit a label at any time. Editing a label does not change the list of files to which the label is applied.
Right-click the label and select Edit Label 'label_name' .
The Label form is displayed.
Deleting a label makes it unavailable for use and removes the label from files. Unloading transfers infrequently-used metadata from the versioning engine’s database files to a set of flat files in an unload depot. If you unload a label, you can reload it if you change your mind and want to use it again.
To delete a label:
To unload a label:
To reload an unloaded label:
For more information about unloading, see the P4 Command Reference.
To retrieve a labeled file revision using the Get Revision dialog:
Right-click the required label and select Get Revision.
The Get Revision dialog opens.
To display all files associated with a label, do the following:
Select a label to display its associated files in the bottom pane.