hg 合并后重新启动 GUI mergetool
这是这样的场景:
1
|\
| \
2 3
| /
|/
4*
在进行 hg merge 时,我进入了 4*,文件中存在冲突。由于我忘记提及 GUI 工具,我现在想启动一个 GUI 工具
$ hg merge --tool meld
abort: outstanding uncommitted merges
所以我似乎无法在不回滚冲突的情况下解决问题。有什么办法可以做到这一点吗?
在 git 中,我可以轻松地执行 git mergetool,它会随时加载 GUI。
Here is the scenario
1
|\
| \
2 3
| /
|/
4*
While doing hg merge, I got into 4* where I have conflicts in my files. Since I forgot to mention GUI tool, I now want to start a GUI tool
$ hg merge --tool meld
abort: outstanding uncommitted merges
So I can't seem to fix the issue without rolling back the conflict. Is there any way to do this?
In git I would easily do git mergetool and it would load a GUI anytime.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用
hg resolve
重新启动合并。您可以仅重新启动
foo
文件的合并,也可以从头开始重新启动合并。用于
查看合并进度 - 未解析的文件标有
U
。Use
hg resolve
to restart a merge. You can doto restart the merge of just the
foo
file, or you can doto restart the merge from scratch. Use
to see the progress of your merge — unresolved files are marked with an
U
.