mchatter
13 years agoNew Contributor
Using 'last' in ccollab commands
Hi
I've written a script to automatically create a code review, which is executed by a Perforce change-commit trigger.
Within this script I'm using the 'last' ccollab parameter to set the review author, attach the changelist and start the review.
My question is whether the 'last' parameter is safe to use from a 'concurrency' perspective ? ie if two different users submit changelists at the same time, is there a danger that the 'last' parameter will return the same value for both users ?
Regards
I've written a script to automatically create a code review, which is executed by a Perforce change-commit trigger.
Within this script I'm using the 'last' ccollab parameter to set the review author, attach the changelist and start the review.
My question is whether the 'last' parameter is safe to use from a 'concurrency' perspective ? ie if two different users submit changelists at the same time, is there a danger that the 'last' parameter will return the same value for both users ?
Regards