perforce client spec - making different depot paths map to the same client workspace path

StackOverflow https://stackoverflow.com/questions/6301151

  •  22-10-2019
  •  | 
  •  

Pergunta

I want to create a client with the following view:

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

No files and directories are common between //depot/location1/main/..., and //depot/location2/main/...

But when I do p4 sync, it only syncs from //depot/location2/main/...

How can I make it sync from both locations?

Foi útil?

Solução

Use this

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

The plus does what you are looking for, it tells perforce to add the files from that depot location to an already defined workspace location.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top