有谁知道如何设置水星 http://www.selenic.com/mercurial/wiki/index.cgi/Mercurial to use p4merge http://www.perforce.com/perforce/products/merge.html作为 OS X 10.5 上的合并/比较工具?
这将适用于合并:
将其放入您的~/.hgrc
(或者,可选地,您的Mercurial.ini
在 Windows 上):
[merge-tools]
p4.priority = 100
p4.premerge = True # change this to False if you're don't trust hg's internal merge
p4.executable = /Applications/p4merge.app/Contents/MacOS/p4merge
p4.gui = True
p4.args = $base $local $other $output
需要 Mercurial 1.0 或更高版本。显然,您需要更新该可执行文件的路径以反映 p4merge 的安装位置。
你无法改变什么hg diff
uses;但是你can使用extdiff
扩展来创建使用您想要的显示的新 diff 命令。
So hg pdiff
可以运行 p4 merge 等。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)