Creating a Label

Published by Marco on in Perforce

Labels are separate objects in Perforce and contain a list of files at specific revisions. You can use a label to revert to previous release (See Syncing with a Label for more information).

The following instructions apply to the Windows client (P4WIN) only.

  1. Click the label toolbar button to show the labels page.
  2. Make a new label (right-click in the list); Give it a useful description.
  3. Restrict the View to that needed by the project being labelled (See Using Wildcards and Excluding Files for examples).
  4. Drag the project files from the depot over to the label; Select Add/Replace Files Listed in Label… from the popup menu. Perforce will open a dialog offering to replace the contents of the label.
  5. Click Ok to add the files.