[p4] How to negate a trigger without removing it from the triggers form
John Hopkins
johnh at ca.sophos.com
Fri Dec 8 15:38:37 PST 2006
>From: "Greg Pan" <Greg.Pan at excapsa.ca>
>Subject: [p4] How to negate a trigger without removing it from the
> triggers form
>Is it possible to negate a particular trigger by putting a minus sign
>before the line representing the trigger? I tested it out that minus
>sign does not work. Any other character may do the magic?
>
>Although it's not a big deal to remove the line totally from the
>triggers form it could be handy to negate it temporarily somehow, just
>like you negate a mapping line in your client view.
Prefixing the command with 'exit;' seems to work (tested on a Linux
server). For example:
Triggers:
modify-submit-form out change "exit;modify-submit-form %formfile%"
Hope that helps,
John
More information about the perforce-user
mailing list