Reputation: 2077
I'd like to have a "LAST_KNOWN_GOOD" label that points to the latest database that passed nightly regressions (done automatically by the regression script). The idea being that folks can just sync to that label when the head of tree is broken.
So, the same label spec would get updated over and over. I'm not seeing anything obvious on how to do this in the perforce doc.
Upvotes: 1
Views: 589
Reputation: 11915
p4 labelsync -l LAST_KNOWN_GOOD
It's really as simple as that. As long as the label isn't locked, and the label already exists.
The p4 label
command can create a label.
You can always learn more about any command
by typing p4 help command
Upvotes: 1
Reputation: 16359
Yes, if the label is not locked, you can change the contents of the label. Have a look at the 'p4 labelsync' command.
Upvotes: 0