[p4] Questions about labels

Ivey, William william_ivey at bmc.com
Wed Oct 21 11:54:40 PDT 2009


I don't see any overlaps in those patterns. They are all
unique and depot-syntax. -Wm

-----Original Message-----
From: perforce-user-bounces at perforce.com [mailto:perforce-user-bounces at perforce.com] On Behalf Of Tim McDaniel
Sent: Wednesday, October 21, 2009 11:28 AM

On Wed, 21 Oct 2009, Ivey, William <william_ivey at bmc.com> wrote:
>
> Unless I missed some complicating factor, it's just a
> matter of doing multiple syncs. From the command line it
> would just be:
>
> p4 sync //xzy/... //abc/new/... //abc/def/... at label //abc/efg/... at label

This can result in files being extracted / deleted / overwritten
multiple times, depending on how much overlap there is in the four
zones, and Perforce is often used over a network.  That's why I
suggested using a label to generate the intended content, because
that's only database work and it's done entirely within the server --
and then sync to the result, extracting or deleting every file exactly
once.




More information about the perforce-user mailing list