I have been using P4V for version control for some time now and have my workspace mappings set up so that P4V pulls a main project and a project template. The template is then shared across multiple projects.
//depot/Project01/... //Matt_WorkspaceName/Project01/... +//depot/Templates/TemplateV1/... //Matt_WorkspaceName/Project01/TemplateV1/... //depot/Project02/... //Matt_WorkspaceName/Project02/... +//depot/Templates/TemplateV1/... //Matt_WorkspaceName/Project02/TemplateV1/... //depot/Project03/... //Matt_WorkspaceName/Project03/... +//depot/Templates/TemplateV1/... //Matt_WorkspaceName/Project03/TemplateV1/...
This was working perfectly until I tried to upgrade Project01 to TemplateV2.
I changed my workspace mapping to
//depot/Project01/... //Matt_WorkspaceName/Project01/... +//depot/Templates/TemplateV2/... //Matt_WorkspaceName/Project01/TemplateV2/...
I then deleted the v1 folder in windows file explorer and tried to pull v2.
Initially I got the error
h:\Project01\TemplateV2\...#head - file(s) not in client view
So I manually created the TemplateV2 folder and tried again.
The log showed all of the TemplateV1 files being deleted.
I restored the files from a backup and edited my workspace mapping so that it didn't include the other 2 projects, just incase it deleted files that I needed from those projects.
I hit Get Latest on the entire depot and it still downloaded V1 files to all 3 projects.
My understanding was that if I removed the V1 mappings it wouldn't push or pull to those locations but this doesn't seem the case.
Does this have something to do with the + at the start of the mapping? I thought this necessary if the same depot location was being pulled to various workspace locations.