labelsync


    labelsync -- Synchronize label with the current client contents

    p4 labelsync [ -a -d -n ] -l label [ file[revRange] ... ]

	Labelsync causes the named label to reflect the current contents
	of the client.  It records the last revision of each file taken
	onto the client.  The label's name can subsequently be used in
	a revision specification as @label to refer to the revision of
	a file as stored in the label.

	Without a file argument, labelsync causes the label to reflect the
	contents of the whole client, by adding, deleting, and updating the
	label.  If a file is given, labelsync updates only that named file.

	If the file argument includes a revision specification, then that
	revision is used instead of the revision taken by the client.
	See 'p4 help revisions' for help specifying revisions.

	If the file argument includes a revision range specification, then
	only files selected by the revision range are updated, and the
	highest revision in the range is used.

	The -a flag causes labelsync to add the named file to the label;
	no files will be deleted from the label.

	The -d deletes the named file from the label, regardless of revision.

	The -n flag lists how the label would be affected, but doesn't
	actually update the label.

	Only the owner of a label may run labelsync on that label.
	A label that has its Options: set to 'locked' cannot be updated.