[p4] How can I prevent a user from using "accept mine" during resolution

Alok Narula anarula at beceem.com
Wed Sep 5 05:09:03 PDT 2007


Hi,

 

In my company I'm finding that some developers don't take the pain of
resolving a file when the file they're trying to submit is earlier than
the depot version. These guys select "accept mine" when Perforce prompts
them to resolve a file, and consequently overwrite the latest revision
with their old revision, which sometimes is many revisions older than
the latest revision.

 

I would like to know how I can prevent a user from using "accept mine"
during resolution? I was thinking of writing a trigger but I don't see
any argument that captures the return value of the p4 resolve command. 

 

Alok



More information about the perforce-user mailing list