[p4] Selective "p4 sync" ?
Shawn Hladky
p4shawn at gmail.com
Wed Oct 4 12:26:01 PDT 2006
The obvious question, is can you just exclude it from your client view? I'm
guessing, you don't want to do that, so here's a way to do it. But this is
really only useful if you are regularly executing the sync on the same
folders.
You can use an automatic label to do this... which is a fairly new undoc-ed
feature.
Create a lable like this:
Label: auto
Revision: @now
View:
//abc/xyz/...
-//abc/xyz/kkk/...
Then you can sync using:
p4 sync @=auto
//abc/xyz/kkk/... will be left at #have, but the rest of //abc/xyz/... will
be #head.
On 10/4/06, Sheizaf, Yariv <Yariv_Sheizaf at bmc.com> wrote:
>
> Hi,
>
> Is there a short way in command line interface (not by scripting) to
> exclude a folder from a recursive "p4 sync" ?
> For example: I want to sync //abc/xyz/..., but exclude (e.g do not sync)
> //abc/xyz/kkk/...
>
> Regards,
>
> Yariv Sheizaf
> bmc software
> Identity Management BU
> Configuration Manager
> Office: +972-3-6451-281
>
> _______________________________________________
> perforce-user mailing list - perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
More information about the perforce-user
mailing list