分支规范中的 Perforce 通配符问题
在分支规范中,我有以下视图:
//depot/dev/t/a/g/... //depot/dev/t/r/g/...
-//depot/dev/t/a/g/p/o*/... //depot/dev/t/r/g/p/...
Perforce 报告第二条规则的“不兼容的通配符”。
我想做的是排除所有以“o”开头的目录。
我做错了什么,我该如何解决这个问题?
In a branch spec, I have the following view:
//depot/dev/t/a/g/... //depot/dev/t/r/g/...
-//depot/dev/t/a/g/p/o*/... //depot/dev/t/r/g/p/...
Perforce reports an "Incompatible wildcards" for the second rule there.
What I'd like to do is exclude all the directories beginning with "o".
What am I doing wrong, and how do I fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
虽然不是问题的直接答案(上面已回答),但我对同一条消息感到困惑,并在尝试寻找解决方案时发现了这篇文章。
就我而言,这是因为当从另一个文件复制粘贴工作区映射时,放置了省略号字符而不是 Perforce“...”通配符。 为了解决这个问题,我删除了省略号并通过输入三个句号来替换它。
While not a direct answer to the question (answered above), I was stumped on the same message and found this post while trying to search for a solution.
In my case, it was because when copy-pasting the workspace mapping from another file, the ellipsis character was placed instead of the Perforce "..." wildcard. To fix this, I deleted the ellipsis and replaced it by typing in three periods.
我认为每个映射的两侧都需要有匹配的通配符。 尝试:
I think you need to have matching wildcards on both sides of each mapping. Try: