Perforce client spec - create different storage paths for the same client workspace path

I want to create a client with the following view:

//depot/location1/main/... //myclient/main/...
//depot/location2/main/... //myclient/main/...

Files and directories do not occur between // depot / location 1 / main / ... and // depot / location2 / main / ...

But when I execute p4 sync, it only syncs with // depot / location 2 / main / ...

How can I synchronize from both places?

+3
source share
1 answer

Use this

//depot/location1/main/... //myclient/main/...
+//depot/location2/main/... //myclient/main/...

Plus does what you are looking for, it tells perforce to add files from this storage location to an already defined location in the workspace.

+8
source

All Articles