开发者

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

开发者 https://www.devze.com 2023-03-12 09:20 出处:网络
I want to create a client with the following view: //depot/location1/main/... //myclient/main/... //depot/location2/main/... /开发者_Python百科/myclient/main/...

I want to create a client with the following view:

//depot/location1/main/... //myclient/main/...
//depot/location2/main/... /开发者_Python百科/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?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号