PDA

View Full Version : Perforce label command


aybara
04-12-2007, 06:29 PM
Is there any way to read a perforce label from VBP? When you choose label as the command, -i automatically gets appended and it overwrites the label. I just want to be able to read the spec back so I can get the name of the user who created it...

Thanks!

kinook
04-13-2007, 07:04 AM
Not with the current version of the Perforce action -- we'll add to our list support this. For now, use a Run Program action like

p4 label -o "label name"

and, in the vbld_StepDone event or following step, parse the LASTSTEP_OUTPUT system macro for the owner.

Admin note: Implemented in v6.4

aybara
04-13-2007, 10:29 AM
I had a feeling that was the case. Oh well - thanks!