Is possible to change the default diff tool in Mercurial?

后端 未结 4 875
[愿得一人]
[愿得一人] 2021-01-31 07:09

Every time I do an hg diff file.ext I end up using a console diff application. I would like to use Kdiff3 or WinMerge (I\'m using Windows).

Is there a way t

4条回答
  •  -上瘾入骨i
    2021-01-31 07:51

    With this config

    [extdiff]
    cmd.kdiff3 =
    

    I use this command to see diffs:

    hg kdiff
    

    This shows a directory tree with all files that have changed. You click a file to see diffs for just the file. You may be able to add a file parameter to the command to just see one file.

    More info here.

提交回复
热议问题