完全手动的Mercurial合并 [英] Completely manual Mercurial merge
本文介绍了完全手动的Mercurial合并的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么方法可以对Mercurial中的合并过程进行完全的手动控制吗?
Is there any way to take complete manual control over the merge process in Mercurial?
我希望能够选择文件合并的方向,即使对于没有冲突的文件也是如此. 有可能吗?
I want to be able to choose direction of file-merge, even for files without conflicts. Is that possible?
推荐答案
在合并配置中关闭预合并".然后,一切都视为冲突,您可以为每个文件更改选择向左"或向右".
Turn "pre-merge" off in your merge configuration. Then everything counts as a conflict and you can pick "left" or "right" for each and every file change.
[merge-tools]
mymergetool.premerge = False
来自Mercurial Wiki上的 MergeToolConfiguration.
from MergeToolConfiguration on the Mercurial wiki.
这篇关于完全手动的Mercurial合并的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文