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

Slava Imeshev imeshev at yahoo.com
Wed Sep 5 16:25:13 PDT 2007


Alok,

p4 resolve -ay is a legitimate and useful command. Personally I am not
sure if it is a good idea to twist a good tool in attempt to
circumvent a questionable practice. Why not to talk to those guys and
educate them on importance of resolving gracefully? There shouldn't be
many of those.

Regards,

Slava Imeshev

Automerge: Automatic Integration For Perforce

http://www.viewtier.com/parabuild/automated_merges_for_scm.htm


> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of Alok Narula
> Sent: Wednesday, September 05, 2007 5:09 AM
> To: perforce-user at perforce.com
> Subject: [p4] How can I prevent a user from using "accept mine" 
> duringresolution
> 
> 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


More information about the perforce-user mailing list