28 messages in com.perforce.perforce-user[p4] what label am I synced to?| From | Sent On | Attachments |
|---|---|---|
| Karl Elvis MacRae | 26 Mar 2003 09:43 | |
| Dave Hildebrandt | 27 Mar 2003 09:37 | |
| Karl Elvis MacRae | 27 Mar 2003 09:41 | |
| Robert Cowham | 27 Mar 2003 09:58 | |
| William Suetholz | 27 Mar 2003 10:59 | |
| Stephen Ng | 27 Mar 2003 11:17 | |
| Jason Williams | 27 Mar 2003 12:04 | |
| William Suetholz | 27 Mar 2003 12:08 | |
| Stephen Ng | 27 Mar 2003 12:11 | |
| Jason Williams | 27 Mar 2003 12:20 | |
| Bennett, Patrick | 27 Mar 2003 12:21 | |
| Stephen Ng | 27 Mar 2003 12:37 | |
| Shelley L. Shostak | 27 Mar 2003 12:47 | |
| Jason Williams | 27 Mar 2003 12:55 | |
| Dave Lewis | 27 Mar 2003 13:02 | |
| Jason Williams | 27 Mar 2003 13:14 | |
| Ed Mack | 27 Mar 2003 13:14 | |
| Robert Conklin | 27 Mar 2003 13:22 | |
| Bennett, Patrick | 27 Mar 2003 13:25 | |
| Dave Lewis | 27 Mar 2003 13:45 | |
| Jeff A. Bowles | 27 Mar 2003 14:36 | |
| wsue...@centonline.com | 28 Mar 2003 08:09 | |
| Dave Hildebrandt | 28 Mar 2003 17:05 | |
| Chuck Karish | 29 Mar 2003 10:11 | |
| Brian Colfer | 02 Apr 2003 10:50 | |
| Bennett, Patrick | 02 Apr 2003 11:03 | |
| Brian Colfer | 02 Apr 2003 11:33 | |
| Chuck Karish | 02 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




