[p4] Trigger not to all new files under particular directory

Murawski, Wojtek wmurawsk at agl.com.au
Tue Mar 29 15:10:42 PST 2005


I think you could arrange that with 'p4 protect' instead of triggers, something along the lines of

	list user * * -//...
	write user * * //depot/products/Camera/...
	write user * * //depot/products/signature/...
	write user * * //depot/products/test/...

-Wojtek Murawski.

> -----Original Message-----
> From:	perforce-user-bounces at perforce.com@AGL  On Behalf Of Madhu Gaddam <MGaddam at digimarc.com>
> Sent:	Wednesday, 30 March 2005 7:53 AM
> To:	'perforce-user at perforce.com'
> Subject:	[p4] Trigger not to all new files under particular directory
> 
> 
> Hi  All,
>  
> I am looking for a  perl trigger, that should not allow any user to add a new  files.
>  
> For example I have  directory called
>  //depot/products/Camera/...
>  //depot/products/signature/...
>  //depot/products/test/...
>  
> I don't want any one to create on more  directory under  
>  //depot/products
>  
> They can work on the existing directory  & add files under that, but not on the main level( //depot/products)
>  
> Please help
>  
> Thanks
> Madhu
>  
> _______________________________________________
> Come to the 2005 Perforce User Conference, April 14 & 15 in Las Vegas.
> Learn more: http://www.perforce.com/conf
> 
> 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