强制从 diff 中排除子文件夹
我已在我的工作区中添加了一个名为“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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否添加了客户端规范规则以在更改目录并打开目录中的文件后删除
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 withp4 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 yourbin
directory (at least, that Perforce is tracking), so you'll need to rebuild.