Perforce labels spanning branches
I'm using Convert mode and converting labels and branches. As it stands, the labels are applied to various branch versions. For example:
All these files reside in the same directory in the tree - only differing because of the branch directory. Since these labels are applied on different branches, I cannot 'sync' to a label and pick up the entire fileset in one place.
In CVS I would be able to run 'cvs get -r <label> <module>' and end up with all files tagged with that particular label - no matter the branch.
During conversion, would it make more sense to apply the label to all the files on a particular branch so they're all visible?
If the label 'IPX_C19' spans multiple branches and you wanted just branch 'BCG_28NM' then
p4 sync //depot/icm/proj/USB30phy/BCG_28NM/...@IPX_C19
However, to flatten the three directories above (assuming that they contain unique files) you would need a workspace with overlay ('+') mapping. http://www.perforce.com/perforce/r15.1/manuals/cmdref/views.html
//depot/icm/proj/USB30phy/main/... //my_workspace/...
+//depot/icm/proj/USB30phy/BCG_28NM/... //my_workspace/...
+//depot/icm/proj/USB30phy/BCM63381_A0/... //my_workspace/...
then,
p4 sync //my_workspace/...@IPX_C19
Thanks for the tip/schooling. I'll look into this.