[p4] automatically building in the latest changelist number f or a build

Ivey, William william_ivey at bmc.com
Thu Mar 24 08:39:08 PST 2005


> -----Original Message-----
> From: Paul Andrei [mailto:pandrei at foliage.com]
> Sent: Wednesday, March 23, 2005 7:22 PM
> 
> TIP: it's important for steps 2, 3, and 4 to occur in this 
> order. It's safer to find out what's the last submitted
> change number first and then fetch *that* version, than to
> fetch the latest version and then find out what was the last
> submitted change number. The later suffers from a race condition.

This works too, after syncing, but it is a little slower:

p4 changes -m 1 -s submitted //filespec/... at buildclient

-Wm

 



More information about the perforce-user mailing list