Perforce 仓库/客户端映射
Perforce 中是否有命令可以获取客户端从软件仓库映射特定文件夹的信息?
示例:
我有仓库位置 //depot/myfolder/somefile.java
我想知道哪些客户端将此位置映射到哪个路径的信息:
//client1/c:/folder1/somefile.java //client2/d:/folder2/somefile.java ...
我可以从“p4 客户端”获取此信息,但它适用于当前客户端,而不适用于特定文件夹/文件。
问候,维克多
Is there command in Perforce to get information which clients has mapping for particular folder from depot ?
Example:
I have depot location //depot/myfolder/somefile.java
I want to know information which clients map this location to which path:
//client1/c:/folder1/somefile.java
//client2/d:/folder2/somefile.java
...
I can get this information from "p4 client" but it is for current client and not for particular folder/file.
Regards, Victor
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 p4 clients 命令通过一个小脚本来列出客户端:
然后使用
列出客户端规范来迭代每个客户端,最后搜索您感兴趣的路径。
You could do it with a small script using the p4 clients command to list clients:
and then iterate over each client using
to list the client spec, and finally search for the path(s) you are interested in.