如何从 Perforce 存储库中删除无法检索的文件?
在我的 Perforce 存储库中,有一个不久前提交的文件,并且一度有效。我需要将文件及其父目录移动到存储库中的其他位置。但是,由于 Linux 和 Linux 上的 P4V (2010.2) 和 p4 中报告了以下错误,我无法从存储库检索文件的副本。 Mac OS X:
Bad AppleSingle/Double header.
Malformed FInfo/FXInfo structure! File not updated.
该文件是 Apple DMG(磁盘映像)安装程序。存储库中的文件似乎已损坏,我无法检索它。
无论存储库中的文件是否有错误,是否都可以检索该文件?
是否可以在工作区中没有该文件的本地副本的情况下移动存储库中的文件?
In my Perforce repository there's a file that was submitted a while ago and was at one point valid. I need to move the file and its parent directory to a different location in the repository. However, I'm unable to retrieve a copy of the file from the repository due to the following error reported in P4V (2010.2) and p4 on Linux & Mac OS X:
Bad AppleSingle/Double header.
Malformed FInfo/FXInfo structure! File not updated.
The file is an Apple DMG (disk image) installer. It appears that the file in the repository is corrupted and I'm unable to retrieve it.
Is it possible to retrieve the file regardless of errors in the file in the repository?
Is it possible to move the file in the repository without have a local copy of the file in my workspace?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用命令行工具:
只要您的客户端映射 //path/...,您就可以删除内容而不获取它们(例如,不要先执行
p4 同步
)Use the command line tool:
As long as your client maps //path/... you can delete things without fetching them (eg, don't do a
p4 sync
first)