Perforce 2005.2 Command Reference | ||
<< Previous Chapter p4 labels |
Table of Contents Index Perforce on the Web |
Next Chapter >> p4 lock |
Without a file argument, p4 labelsync causes the label to reflect the contents of the client workspace by adding, deleting, and updating the set of files tagged with the label.
If a file is given, p4 labelsync updates the tag for only that named file. If the file argument includes a revision specification, then that revision is used instead of the revision existing in the workspace. If the file argument includes a revision range, then only the highest revision in that range is used.
Only the Owner: of an unlocked label may use p4 labelsync to tag files with that label.
A label that has its Options: field set to locked cannot be updated with p4 labelsync.
-a |
Add the label to files that match the file pattern arguments, even if some of the files being labeled are deleted at their head revision. |
-d |
Delete the label tag from the named files. |
-l labelname |
Specify the label to be applied to file revisions |
-n |
Display what p4 labelsync would do without actually performing the operation. |
See the Global Options section. |
Perforce 2005.2 Command Reference | ||
<< Previous Chapter p4 labels |
Table of Contents Index Perforce on the Web |
Next Chapter >> p4 lock |