[p4] Print informational message on submit

Melissa mkacher at msn.com
Tue Apr 3 16:00:27 PDT 2007


That is correct. Print your message to stdout (stderr won't be shown to the
user), but have the trigger fail (no message is shown to the user on
success). 

There are no consequences to having a post-commit trigger fail.

-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Sharad Ramachandran
Sent: Tuesday, April 03, 2007 11:34 AM
To: perforce-user at perforce.com
Subject: Re: [p4] Print informational message on submit


AFAIK, messages are displayed ONLY when the trigger fails but not on
success. If the trigger is successful, then no message is displayed.

-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Melissa
Sent: Tuesday, April 03, 2007 9:19 AM
To: 'Jamison, Shawn'; perforce-user at perforce.com
Subject: Re: [p4] Print informational message on submit

You want to implement a "commit trigger". Triggers are described somewhere
around p.100 of the Administrator's Guide.

-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Jamison, Shawn
Sent: Tuesday, April 03, 2007 4:44 AM
To: perforce-user at perforce.com
Subject: [p4] Print informational message on submit


Is there a way to have a trigger print a message to the user no matter what?

A "request" has been made to have Perforce print a message to the user
reminding them to integrate their current submission to another branch. They
don't want an email but a pop up message.

Any help is appreciated.

Thanks
-Shawn J>
Babs/Perforce Admin

_______________________________________________
perforce-user mailing list  -  perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user

_______________________________________________
perforce-user mailing list  -  perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user

This email and any attachment(s) thereto, are intended for the use of the
addressee(s) named herein and may contain legally privileged and or
confidential information under applicable law. If you are not the intended
recipient of this e-mail, you are hereby notified any dissemination,
distribution or copying of this email, and any attachment(s) thereto, is
strictly prohibited. If you have received this communication in error,
please notify the sender at 415-281-2200 or via return e-mail at
postmaster at paybytouch.com and permanently delete the original copy and any
copy of any e-mail, and any printout thereof. Thank you for your
cooperation.

_______________________________________________
perforce-user mailing list  -  perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user



More information about the perforce-user mailing list