[p4] Customized submit template?
David Weintraub
qazwart at gmail.com
Thu Mar 22 11:08:41 PST 2007
You can create a "form out" trigger on the Submit form.
Take a look at "Chapter 6 Scripting Perforce: Triggers and Daemons" in
the Administrator's manual. Look under the section of "Triggering on
Forms". They even give you an example. Just remember that a "p4
submit" creates a "change" form. So, any trigger you use will fire on
all "change" forms.
You can tell whether or not this is a new change form or an old one by
examining whether or not there's a "Date:" field. That won't be there
on new "change" forms. That way, your trigger doesn't accidentally
change something that a user had already previously set.
On 3/22/07, William Deegan <bdbaddog at gmail.com> wrote:
> Greetings,
>
> Is there a way to customize the form which comes up when you type p4 submit?
>
> -Bill
> _______________________________________________
> perforce-user mailing list - perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
--
--
David Weintraub
qazwart at gmail.com
More information about the perforce-user
mailing list