Rename a label
TASK
Is there a way to rename a label?SOLUTION
Simply create a new label with the contents of the old one. The following is an example of this process wherein "oldname" is the current name of the label, and "newname" is the name you are renaming the label with.Example
p4 label -t oldname newname
p4 labelsync -l newname @oldname
Now, delete the old one (if you want).
p4 label -d oldnameSee "p4 help label" and "p4 help labelsync" for more details, or check the command reference on p4 label and p4 labelsync.
