[p4] Adding a Changelist # to C++ code...?

Dave Lewis dlewis78731 at gmail.com
Sat Feb 23 10:43:41 PST 2008


>  e.g. with a submit trigger.  At submit time, you know (1) the
>  changelist number, and (2) that you are "cleanly synced".  I have a
>  feeling, though, that it's not possible to edit a file in a trigger
>  and "p4 submit" it.  Or is it?

neither 1 nor 2 is true.  Changelists can be renumbered upon submit,
and submitting a new change opens up the possibility that someone
submitted a change after your sync and before your submit.

dave



More information about the perforce-user mailing list