强制重新应用变更列表
我对 perforce 相当陌生,但有相当多的其他 VCS 经验...
想象一下:
- 您提交更改(更改列表 1)
- 一位同事在同一分支上提交更改,意外地覆盖了您的更改。 (变更列表 2)
我尝试集成(P4V 拒绝这样做,因为它已经集成)并寻找一种方法来生成我可以应用的补丁,但找不到任何东西。
现在,我将检查有问题的版本并使用外部合并工具,但很高兴知道 perforce 是否以某种方式支持这一点。
有没有办法使用 perforce 工具(最好在 P4V 中)重新应用变更列表 1?
I'm rather new to perforce, but have quite a bit of other VCS experience...
Imagine this:
- You submit changes (changelist 1)
- A colleague submits changes on the same branch, accidentally overwriting your changes. (changelist 2)
I tried integrating (which P4V refuses to do since it's already integrated) and looked around for a way to just generate a patch that I could apply, but couldn't find anything.
For now, I will check out the versions in question and use an external merge tool, but it would be great to know if perforce supports this somehow.
Is there a way using the perforce tools (preferably in P4V) to reapply changelist 1?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您无法重新应用更改列表 1,但可以重新应用更改列表 2。
You can't reapply changelist 1, but you can reapply changelist 2.
也许最简单的方法是从变更列表 1 (//depot/...@1,@1) 中检索更改,然后执行正常的解析/合并+提交歌曲和舞蹈。
Probably the easiest way is to retrieve the changes from changelist 1 (//depot/...@1,@1) and then going through the normal resolve/merge+submit song and dance.