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

拜拜、爱过 提交于 2019-12-22 10:33:43

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/6301151/perforce-client-spec-making-different-depot-paths-map-to-the-same-client-works

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!