移植与移植 [英] Graft vs. Transplant

查看:74
本文介绍了移植与移植的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

针对Mercurial 2.0的发行公告提到了新的 graft 命令,乍一看看起来与移植扩展相似.两者有什么区别?嫁接樱桃采摘能解决移植中存在的任何问题吗?如果是,那么这些是什么?

The release announcement for Mercurial 2.0 mentions a new graft command, which on first sight looks similar to the transplant extension. What is the difference between these two? Does cherry picking with graft solve any problems that existed with transplant, and if so, what are these?

推荐答案

嫁接使用Mercurial内部合并,而 transplant 依赖于修补程序机制.因此,嫁接应该比目前移植能够更好地处理三向合并.

Graft uses Mercurial internal merging, while transplant relies on patch mechanism. Therefore graft should be able to handle three-way-merges better than transplant currently does.

这篇关于移植与移植的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆