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

todd.benham@kodak.com todd.benham at kodak.com
Wed Sep 5 06:47:00 PDT 2007


Don't allow multiple check outs. That's how most CM tools work. Perforce
can be used that way too.

Todd 


-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of steve at vance.com
Sent: Wednesday, September 05, 2007 9:16 AM
To: anarula at beceem.com
Cc: perforce-user at perforce.com
Subject: Re: [p4] How can I prevent a user from using "accept mine" during
resolution


I don't see a way to enforce this with triggers.

I would suggest things like education, admonishment, whips, and firing, 
applied roughly in that order. :)

Steve

Alok Narula wrote:
> 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
>
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com 
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
>   

-- 
Stephen Vance
www.vance.com
_______________________________________________
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