如何签入与签出不同的分支
我希望将我的更改签入与检出文件不同的分支。每个分支中的所有文件都有相同的“版本”,Perforce 应该通过跟踪已完成的集成来了解这一点。 (所以不需要进行合并)
I wish to check my changes into a different branch than the files were check out from. All the files there are the same “version” in each branch, Perforce should know this from tracking the integrations that have been done. (So no merging need to be done)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
根据 Perforce 博客,
p4 move -f
命令会将您的编辑从一个分支移动到另一分支。来自博客这是 2010.1 版本(我相信是今年)中添加的新功能,因此这可能就是技术支持不知道它的原因。
According to the Perforce Blog, the
p4 move -f
command will move your edit from one branch to the other. From the blogThis is a new feature added in version 2010.1 (this year I believe) so that's probably why tech support didn't know about it.
如果您有 2009.1 或更高版本,请使用“p4 move”。只需移动到新分支并从旧分支恢复即可。
Use "p4 move" if you have version 2009.1 or later. Just move to the new branch and revert from the old branch.
我刚刚收到[电子邮件受保护]的答复
(我现在开始理解为什么与我一起工作的一些程序员要求转向 Mercurial 的压力越来越大)
I just got an answer from [email protected]
(I am now beginning to understand why pressure is building up from some the programmer I work with to to move to Mercurial)