与 SVN 交互合并,逐个合并提交
您是否知道任何支持以下功能的工具:
- Eclipse 集成(非强制)
- 合并跟踪
- 交互式合并
- 通过选择更改集进行合并,但将它们一一提交以保留提交注释
所以我期望的流程:
- 选择要合并到工作区的源
- 选择修订来合并
- 程序将对第一个修订进行合并,如果有的话,会弹出冲突解决,如果没有冲突,它将与原始提交注释一起提交+将信息与适当的 svn 属性合并
- 到下一个修订。
你知道这样的工具吗?
Do you know any tool that support the followings:
- eclipse integration (not mandatory)
- merge tracking
- interactive merge
- merging with selecting changesets, but commit them one-by-one to preserve commit comments
So the flow I expect:
- picking the source to merge to workspace
- choosing revisions to merge
- the program would do the merge for the first revision, would pop up conflict resolving if any, and if no conflict it would commit with the original commit comment + merging info with appropiate svn properties
- go to next revision.
Do you know such tool?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,我怀疑任何工具都会完全按照您所描述的方式执行此操作 - 为什么它们会在您可以 a)通过一次合并 1 个修订版来复制功能时,b)更喜欢使提交成为手动过程,以便操作员可以检查合并的内容结果。自动提交合并只是有点乐观。
您可以使用脚本编写这样的工具 - 对于每个修订,合并,获取原始日志注释,提交。
请注意,您无需担心属性,因为它们会作为合并过程的一部分自动合并。
No, I doubt any tool does this exactly as you describe - why would they when you can a) replicate the functionality by merging 1 revision at a time anyway, b) prefer to make the commit a manual process so the operator can check the merged results. Having merges commit automatically is just slightly optimistic.
You could write such a tool with script - for each revision, merge, fetch original log comment, commit.
Note you don't need to worry about properties as they are merged automatically as part of the merge process.