2 messages in com.perforce.perforce-user[p4] RCS $Name:$ expansion or equival...
FromSent OnAttachments
John Shafaee09 Jul 2003 22:37 
Jo Woodison10 Jul 2003 00:04 
Subject:[p4] RCS $Name:$ expansion or equivalent in p4?
From:John Shafaee (psha@hostway.com)
Date:07/09/2003 10:37:30 PM
List:com.perforce.perforce-user

We recently converted to P4 from CVS and are attempting to migrate/translate the existing build process. Traditionally we were able to include $Name:$ tags in the application which would be expanded to the CVS tag name used when a checkout was performed. This is very useful as it marks the build with a textual description of the version. The build number may be 987654 but our customers know it as "App v. 2.3.5" as it was advertised in the milestones.

The closest equivalent to cvs tag in P4 is label. However, I do not see any RCS keyword expansion or equivalent strategy for automatically embedding the label in the application. It would be equally helpful if there was support for branch name expansion as our release builds are branched off of the main line. This can be easily programmed (as we have done) with a search and replace command line script, but it seems to me that it should be something P4 supplies natively.

Any thoughts?

-john s.