28 messages in com.perforce.perforce-user[p4] what label am I synced to?
FromSent OnAttachments
Karl Elvis MacRae26 Mar 2003 09:43 
Dave Hildebrandt27 Mar 2003 09:37 
Karl Elvis MacRae27 Mar 2003 09:41 
Robert Cowham27 Mar 2003 09:58 
William Suetholz27 Mar 2003 10:59 
Stephen Ng27 Mar 2003 11:17 
Jason Williams27 Mar 2003 12:04 
William Suetholz27 Mar 2003 12:08 
Stephen Ng27 Mar 2003 12:11 
Jason Williams27 Mar 2003 12:20 
Bennett, Patrick27 Mar 2003 12:21 
Stephen Ng27 Mar 2003 12:37 
Shelley L. Shostak27 Mar 2003 12:47 
Jason Williams27 Mar 2003 12:55 
Dave Lewis27 Mar 2003 13:02 
Jason Williams27 Mar 2003 13:14 
Ed Mack27 Mar 2003 13:14 
Robert Conklin27 Mar 2003 13:22 
Bennett, Patrick27 Mar 2003 13:25 
Dave Lewis27 Mar 2003 13:45 
Jeff A. Bowles27 Mar 2003 14:36 
wsue...@centonline.com28 Mar 2003 08:09 
Dave Hildebrandt28 Mar 2003 17:05 
Chuck Karish29 Mar 2003 10:11 
Brian Colfer02 Apr 2003 10:50 
Bennett, Patrick02 Apr 2003 11:03 
Brian Colfer02 Apr 2003 11:33 
Chuck Karish02 Apr 2003 17:07 
Subject:[p4] what label am I synced to?
From:Jeff A. Bowles (ja@pobox.com)
Date:03/27/2003 02:36:12 PM
List:com.perforce.perforce-user

At 04:23 PM 3/27/2003 -0500, Robert Conklin wrote:

If you create a label, do a sync, then do a labelsync -l labelame ... Won't that give you a list of files for which you can reproduce a build at some later date?

I'm probably the loudest person who'll respond on this point.

Short answer to your question: yes. Should be the same. Right.

But...

I usually set up build scripts and documentation to say: 1. Run "p4 changes -m1 -s submitted //depot/codelinename/..." (or, an alternative is run 'p4 label' to create a label and then 'p4 labelsync -l labelname //depot/codelinename/...#head" first). This creates a token, be it a change number or label name, that can be passed to step #2. 2. "p4 sync //depot/codelinename/... at TOKEN" (be it change number or label name) The reason I recommend this is that if you are rebuilding, you'll type the exact same command that was typed for step #2, eliminating any question that you got different results or mistyped something.

(Of course, if you pull something into a client workspace that has its "View:" section set weirdly, well, it'll change things. Be aware.)

-Jeff Bowles