Perforce 获取最新修订版未获取签出文件?

发布于 2024-09-29 05:09:12 字数 144 浏览 6 评论 0原文

当使用 p4v 将项目同步到第二台计算机时,我惊讶地发现我在主计算机上签出的文件未包含在“获取修订版”(选择获取最新修订版和强制选项)中。

这似乎是开始工作的基本事情,但除了标记源树并获取它之外,我找不到如何强制执行此操作,如果不需要,我不想这样做。 。 。

When using p4v to sync a project onto a 2nd machine I was surprised to see that files I had checked out on my primary machine were not included in the "Get Revision" (Get Latest Revision and Force options selected).

This seems like an elemental thing to get working but I can't find how to force this other than perhaps tagging the source tree and getting that, which I don't want to do if I don't have to. . .

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

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

发布评论

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

评论(1

快乐很简单 2024-10-06 05:09:12

这是一个基本的事情。在一台计算机上同步绝不会受到在另一台计算机上打开编辑的内容的影响。同步会检索所有这些文件,无论谁签出这些文件,除非您通过弄乱 Perforce 客户端外部的文件来混淆服务器。但是,您说您使用了 -f 选项,这可以解决该问题。

您确定没有为添加打开这些丢失的文件,而不是为编辑打开这些文件吗?

This is an elemental thing. Syncing on one computer is in no way influenced by what you have open for edit on another. Syncing retrieves all those files regardless of who has them checked out, unless you have confused the server by messing with files outside the Perforce client. However, you said you used the -f option, which would solve that problem.

Are you sure you don't have those missing files open for add and not for edit?

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