[p4] Questions about labels

Robert Cowham robert at vizim.com
Wed Oct 21 15:12:10 PDT 2009


> With the client being
>      //xzy/...     //abc_local/...
>      //abc/def/... //abc_local/def/...
>      //abc/efg/... //abc_local/efg/...
>      //abc/new/... //abc_local/new/...
> depot path //xzy/def/foo.java and
> depot path //abc/def/foo.java
> would both attempt to map to //abc_local/def/foo.java
> 
> I'm shaky on how clients handle overlaps, so I don't know whether
>      p4 sync //xzy/...
> would extract //xzy/def/foo.java or not.  If not, then my 
> objection is wrong, I think.

The order is important - later lines ("lower") overwrite earlier lines. So
in the above case, you get //abc/def/foo.java

Overlay (+) mappings are an exercise for the reader!

This is a feature requested by more than one customer. I know of at least a
couple of implementations (reasonable amount of work), to do this for all
developers by individual customers. Add your name to the support request if
you want to bring it forward...

Robert
See our P4DTG based plugin for TeamTrack/Serena Business Mashups
www.vizim.com/lp/ttsbm1.html



More information about the perforce-user mailing list