[p4] change-submit triggers on P4P possible?

Ivey, William william_ivey at bmc.com
Wed Oct 7 08:49:12 PDT 2009


I don't think you'd see much of a performance hit from a simple
trigger like that. In fact, the server can detect one of the
paths for you before it even calls the trigger, the trigger
only has to check for the other path.

-Wm


-----Original Message-----
From: perforce-user-bounces at perforce.com [mailto:perforce-user-bounces at perforce.com] On Behalf Of deshmol-2007 at yahoo.com
Sent: Tuesday, October 06, 2009 10:20 PM
To: Jeff A. Bowles

> Your question has, "ask me a followup about
> why I want this," written all over it.

You are right, I specifically avoided the details, if only to keep my question focused :)

Here is the situation:
1. I have a client spec that spans multiple P4 paths, say //A/foo/.. and //B/bar/...
2. However, in the organization, we'd like to disallow submits that span //A/... and //B/...
3. We'd also not like to use a trigger for performance reasons




More information about the perforce-user mailing list