本文介绍了perforce 客户端规范 - 使不同的仓库路径映射到相同的客户端工作区路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想创建一个具有以下视图的客户端:
I want to create a client with the following view:
//depot/location1/main/... //myclient/main/...
//depot/location2/main/... //myclient/main/...
//depot/location1/main/... 和//depot/location2/main/... 之间没有文件和目录是通用的
No files and directories are common between //depot/location1/main/..., and //depot/location2/main/...
但是当我做 p4 同步时,它只同步来自//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?
推荐答案
使用这个
//depot/location1/main/... //myclient/main/...
+//depot/location2/main/... //myclient/main/...
加号可以满足您的要求,它告诉 perforce 将文件从该仓库位置添加到已定义的工作区位置.
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.
这篇关于perforce 客户端规范 - 使不同的仓库路径映射到相同的客户端工作区路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!