[p4] User initiated Codeline Freezes

David Weintraub qazwart at gmail.com
Sat Aug 25 18:48:52 PDT 2007

If your branch names are consistent through your depot, you could
write a trigger that derived the branch name, then checked the
branchspec for something in the description, or see if it is locked.

That would allow users to lock and unlock branches via the branchspec.

On 8/24/07, Scott Marshall <Scott.Marshall at citrix.com> wrote:
> Hi all,
> Does any one have any ideas about how to offer a
> tool/script that p4 users could execute to essentially
> "freeze" a code line? I know that I can change
> permissions in the protect table but that requires admin
> access and I don't want to have keep changing this
> whenever someone wants to lock a branch. I guess there
> are triggers that could be employed but what would be the
> best way to flag that the branch is locked vs unlocked?
> Any insights would be appreciated.
> Thanks,
> -Scott
> Scott Marshall | Build Engineer
> Citrix Online Division          Phone: 805.690.5832
> Citrix Systems, Inc.            Fax: 805. 690.6471
> 5385 Hollister Avenue           Email:
> scott.marshall at citrix.com
> Santa Barbara, CA 93111 USA     Web: www.citrix.com
> _______________________________________________
> 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