[p4] How to protect new branch?

David Weintraub qazwart at gmail.com
Sat Dec 9 16:45:20 PST 2006


There's really nothing to it...

write       user       *           *   -//Depot/Project/BRANCH/...

This will prevent anyone from writing to the branch any new changes.
You could also do this:

write group group-a * //Depot/Project/MAIN/...

And that will only allow people in group-a access to the MAIN branch.
Then you could put in a separate protection line for people who you
want to have a branch:

write group group-a * //Depot/Project/MAIN/...
write group group-b * //Depot/Project/BRANCH/...

On 12/9/06, William Deegan <bdbaddog at gmail.com> wrote:
> Greetings,
>
> Can someone tell me exactly what lines to add to my p4 protect to
> protect a branch
> from submit's?
>
> Thanks,
> Bill
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>


-- 
--
David Weintraub
qazwart at gmail.com


More information about the perforce-user mailing list