[p4] Syncing only to labeled files using p4 command line
Nau, Michael
Michael.Nau at cardinal.com
Thu May 4 11:28:35 PDT 2006
I like the @=labelname option... didn't know about that one.
I was assuming the files you wanted to sync to the particular label were
within a particular sub dir. Say for example you have the following
project:
//depot/foo/main/...
And you wanted to sync the gui code to the last working revision label.
You could do the following:
p4 sync //depot/foo/main/gui/... at LastWorkingVersion
This would leave all the code within //depot/foo/main/... (except gui)
untouched.
-Mike
-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of
Ken.Williams at thomson.com
Sent: Thursday, May 04, 2006 7:48 AM
To: Nau, Michael; perforce-user at perforce.com
Subject: Re: [p4] Syncing only to labeled files using p4 command line
Hi Michael,
The problem is that @labelname will delete any files from
//depot/path/to/files/... not included in the label, which in this case
I don't want. However, @=labelname does what I was looking for.
-Ken
> -----Original Message-----
> From: Nau, Michael
> Sent: Wednesday, May 03, 2006 10:47 PM
> To: perforce-user at perforce.com
> Subject: Re: [p4] Syncing only to labeled files using p4 command line
>
> Assuming the set of files is under one common directory\area... can't
> you just do p4 sync //depot/path/to/files/... at labelname? This should
> leave all other files within your clientspec not included in the
> specified path in-tact
_______________________________________________
perforce-user mailing list - perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
Cardinal Health -- Working together. For life. (sm)
_________________________________________________
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
Dansk - Deutsch - Espanol - Francais - Italiano - Japanese - Nederlands - Norsk - Portuguese - Svenska: www.cardinalhealth.com/legal/email
More information about the perforce-user
mailing list