Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
P4 一直想要提交一些磁盘上不存在的文件:
open for read: <Path to non-existent-file>: The system cannot find the path specified.
知道如何让 P4 忘记它们吗?
只需编辑您的更改列表并删除幻像文件。如果它们在默认更改列表中,请运行
p4 change
从命令行,它会弹出一个编辑器;从“文件:”部分中删除您不想要的文件并保存。保存后,Perforce 将创建一个新的更改列表,您可以使用它提交:
p4 submit -c <changelist number>
您还应该恢复丢失的文件,以便它们不会继续出现在您的默认更改列表中:
p4 revert <path to files>