[p4] p4 submit

Robert Dunigan, jr frail.knight at gmail.com
Fri Apr 7 09:07:14 PDT 2006


After a p4 submit has been issued for a certain changelist, can you
use a submit/content trigger and script to modify the changelist(Move
another file into the changelist before it is finally submitted)?

We have been trying to use submit or content triggers and a script to
add a file to the changelist being submitted before it is finally
committed.  No matter what we try, it either submits the 2 seperate
changelists or it only submits the original changelist we want to
modify.

We are passing the changelist number as an env variable from the
script into an xml file where we run ant's perforce commands.  We have
used p4reopen in the past to move files between changelists, but not
to a changelist that is currently being submitted.  Is it possible? 
If not, any ideas?

Robert




More information about the perforce-user mailing list