[p4] archiving old labels

Zarnes, Todd Todd_Zarnes at intuit.com
Thu May 25 11:55:23 PDT 2006


Bonita,
Here is what I do:

To save a Label off to a .txt file and Submit the .txt file into
Perforce. - Reference the book Practical Perforce, page 134.

p4 files @Label_Name  > Label_Name.txt
Submit Label_Name.txt to //depot/SCM//LabelArchive/...

>From a cygwin prompt (with sed installed):

$ cat Label_Name.txt | sed -e "s/ - .*//" | p4 -x- labelsync -l
Label_Name

Todd  Zarnes
Intuit Eclipse SCM

-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Garrett, Bonita
Sent: Thursday, May 25, 2006 12:39 PM
To: perforce-user at perforce.com
Subject: [p4] archiving old labels

I am investigating the feasibility of archiving old labels in a system
developed without a long term development support strategy.  I would
like to learn more about the process that you have developed to
implement the label archive.
 
Bonita Garrett 
(858) 458-7196 
 

Cardinal Health -- Working together. For life. (sm)
_________________________________________________

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete
the original. Any other use of the email by you is prohibited.

Dansk - Deutsch - Espanol - Francais - Italiano - Japanese - Nederlands
- Norsk - Portuguese - Svenska: www.cardinalhealth.com/legal/email
_______________________________________________
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