强制从 diff 中排除子文件夹

发布于 2024-08-29 04:04:31 字数 226 浏览 0 评论 0原文

我已在我的工作区中添加了一个名为“dev-machine”的排除项

-//depot/DotNetProject/bin/... //dev-machine/bin/...

bin 文件夹现在在 p4diff 中显示为排除项,但是。 ..

差异仍然显示 ie diff 1 of 11 并且下一个和上一个箭头仍然将我带入那些排除的文件夹。

我在这里遗漏了一些明显的东西吗?

I have added an exclusion to my workspace which is called "dev-machine"

-//depot/DotNetProject/bin/... //dev-machine/bin/...

The bin folder now shows as excluded in p4diff but...

The differences are still showing i.e. diff 1 of 11 and the next and previous arrows are still taking me into those excluded folders.

Am I missing something obvious here?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

思念满溢 2024-09-05 04:04:31

您是否添加了客户端规范规则以在更改目录并打开目录中的文件后删除 bin 目录? Perforce 仍会认为文件已映射,直到您显式同步为止,即使如此,它也会阻止您删除 Perforce 知道已打开的文件。

如果 Perforce 已经认为 bin 目录中的文件已打开(使用 p4 open 检查),则最好的选择可能是强制同步这些文件,或将它们恢复为将它们从您的工作空间中删除。最终,您的 bin 目录中将没有任何文件(至少 Perforce 正在跟踪),因此您需要重建。

Did you add the client-spec rule to remove the bin directory after making changes to the directory, and opening files in the directory? Perforce will still consider the files as mapped until you explicitly sync, and even then it'll prevent you from removing the file Perforce knows is open.

If Perforce already thinks the files in the bin directory are open (check with p4 open), your best bet may be to force-sync these files, or revert them, to remove them from your workspace. You'll end up with no files in your bin directory (at least, that Perforce is tracking), so you'll need to rebuild.

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