At 4:55 PM -0700 6/8/00, Joseph Fota wrote:
Using "p4 triggers", I have a simple perl script that takes the
changelist number, does a "p4 describe <changelist #>, and mails me the
results. Unfortunately, all I get is just two line, no files. What am
I doing wrong?
The changelist is *pending* at that point, so the output
of "p4 describe" doesn't include the file list.
So you probably want to run "p4 -c clientname -u username opened"
and look for the changelist number in the resulting output.
You'll find, in the "triggers" section of the public depot,
that the examples use a trick like this to get their work done.
-Jeff Bowles