[p4] Locking existing labels
Looney, James B
james.b.looney at lmco.com
Mon Nov 12 10:50:20 PST 2007
If I came across a need of that nature, I'd write a Python script
assuming I knew which labels (or what pattern to use).
Use "p4 -G label -o <label name>" to get marshaled data for each of the
labels to change.
modify the "Options" to replace "unlocked" with "locked",
then use "p4 -G label -i <modified data>".
Hope that helps.
-James
> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of
> todd.benham at kodak.com
> Sent: Monday, November 12, 2007 10:05 AM
> To: perforce-user at perforce.com
> Subject: [p4] Locking existing labels
>
> Is there a good way to locked a whole bunch of similarly
> named existing
> labels?
>
> I am in the windows world mostly using p4v.
>
> Something using Python, perl, or window batch would be fine too.
>
> Todd
> _______________________________________________
> 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