7 messages in com.perforce.perforce-user[p4] how can i sync a changeset?| From | Sent On | Attachments |
|---|---|---|
| Ryan Gribble | 21 May 2002 18:12 | |
| Rita Ozanne | 21 May 2002 18:41 | |
| Steve Cogorno | 21 May 2002 18:45 | |
| Jason Williams | 21 May 2002 18:51 | |
| Gilad Benjamini | 21 May 2002 23:10 | |
| wiv...@us.itmasters.com | 22 May 2002 07:19 | |
| J. Bowles | 23 May 2002 09:57 |
| Subject: | [p4] how can i sync a changeset?![]() |
|---|---|
| From: | Rita Ozanne (ri...@tahoenetworks.com) |
| Date: | 05/21/2002 06:41:37 PM |
| List: | com.perforce.perforce-user |
Run p4 sync //depot/project/... at 1144,1144
-----Original Message----- From: Ryan Gribble [mailto:gribble at tabq.com.au] Sent: Tuesday, May 21, 2002 6:13 PM To: 'perforce-user at perforce.com' Subject: [p4] how can i sync a changeset?
I am faced with the following problem:
I want the ability to sync a changeset to a client workspace, but if i use
p4 sync //depot/project/... at 1144
it resolves the changeset 1144 simply as if it were a date, and this command actually syncs the workspace to that point in time, whereas i only want it to sync the files in that changeset, not all files to that point in time.
Is there any way to accomplish this in a one line statement?
I know i could go
p4 describe -s 1144
and then p4 sync each of the files reported by the first command, but this is needed to be able to be performed by users regularly, and some of them wouldnt be using the command line at all...
Is it possible to extend the perforce commands so i could make a new command like "p4 changesync 1144" that does what i require?
Or what about the tools section of p4win? Possibly i would have to write a plugin that users can invoke that way...
I dont understand why perforce cant sync to a changeset number where only the files in that changeset are synced, rather than sync all files to the depot state at the time that changeset was submitted!
Thanks in advance, any help or comments will be much appreciated!
Ryan Gribble Software Quality Engineering TAB Queensland Limited
Phone: (07) 3637 1431 gribble at tabq.com.au
_______________________________________________ perforce-user mailing list - perforce-user at perforce.com http://maillist.perforce.com/mailman/listinfo/perforce-user




