1

(我用的是真实的例子,所以更清楚。)

我在本地克隆了一个官方 Mercurial 存储库

hg clone https://bitbucket.org/Coin3D/soqt -r default

从这个回购:https ://bitbucket.org/Coin3D/soqt/branch/default

现在我想用从主项目的远程分支中获取的提交来更新我的本地副本:

https://bitbucket.org/roboticslibrary/soqt/branch/patch-hidpi

如何将来自远程分叉的特定提交(本例中为#214c74a)集成到我的本地克隆中?

使用 git 我会添加远程分叉,然后我会在上面使用“fetch”,然后我会使用“cherry-pick”来获取特定的提交。

在 Mercurial 中这可能吗?

非常感谢!

4

0 回答 0