Perforce:创建处于保留状态的包
有没有办法用perforce创建一个文件包,使其处于“保留”状态,而不是签入,以便可以轻松检索它?
Is there a way to create a bundle of files with perforce so that it is in a "held" state, not checked in, so that it can be retrieved easily?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来“搁置”功能可能正是您正在寻找的。文档位于此处。基本上,它将文件保留在服务器上,但实际上并未提交它们。然后,您(或其他人)可以将更改“取消搁置”到您的 clientspec 中。
如果您的服务器版本(2009.2 或更早版本)不支持搁置,您可能还需要查看 p4tar,它可以将更改列表打包到一个文件中,稍后可以将其恢复到您的工作区。
It sounds like the "shelve" functionality might be what you're looking for. The documentation is here. Basically it keeps the files on the server, but they're not actually submitted. You (or others) can then "unshelve" the changes into your clientspec.
If your server version (2009.2 or earlier) doesn't support shelving, you might also want to check out p4tar, which can package a changelist into a file that can later be restored to your workspace.