Discussion:
[p4] New label based on template
Michael Mirman
2017-01-09 10:17:17 UTC
Permalink
Try

p4 --field Label=mynewlabel label -o oldlabel | p4 label -i
--
Michael Mirman

MathWorks, Inc.

508-647-7555



-----Original Message-----

From: perforce-user [mailto:perforce-user-***@perforce.com] On Behalf Of okless

Sent: Monday, January 9, 2017 4:05 AM

To: perforce-***@perforce.com

Subject: [p4] New label based on template



Posted on behalf of forum user 'okless'.



I need a command to create a new label based on another (I do it to rename a

label).

I can use -t but it requires opening an editor.

If I use -o it does not take template.



Any idea?



Thanks in advance!
--
Please click here to see the post in its original format:

http://forums.perforce.com/index.php?/topic/5120-new-label-based-on-template

_______________________________________________

perforce-user mailing list - perforce-***@perforce.com

http://maillist.perforce.com/mailman/listinfo/perforce-user
_______________________________________________
perforce-user mailing list - perforce-***@perforce.com
http://maillist.perforce.co
Continue reading on narkive:
Loading...