分支规范中的 Perforce 通配符问题

发布于 2024-07-23 04:38:32 字数 239 浏览 2 评论 0原文

在分支规范中,我有以下视图:

//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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

森林很绿却致人迷途 2024-07-30 04:38:33

虽然不是问题的直接答案(上面已回答),但我对同一条消息感到困惑,并在尝试寻找解决方案时发现了这篇文章。

就我而言,这是因为当从另一个文件复制粘贴工作区映射时,放置了省略号字符而不是 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.

丿*梦醉红颜 2024-07-30 04:38:32

我认为每个映射的两侧都需要有匹配的通配符。 尝试:

//depot/dev/t/a/g/... //depot/dev/t/r/g/...
-//depot/dev/t/a/g/p/o*/... //depot/dev/t/r/g/p/o*/...

I think you need to have matching wildcards on both sides of each mapping. Try:

//depot/dev/t/a/g/... //depot/dev/t/r/g/...
-//depot/dev/t/a/g/p/o*/... //depot/dev/t/r/g/p/o*/...
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文