Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TortoiseHg: No visual diff tools were detected (Mac)

I installed meld in my Mac and i want to use this as a visual diff tool in TortoiseHg. (Note that I am using a Mac. )

I have the following configuration in my .hgrc file. But when I double clicked on a file, I got this "No visual diff tools were detected". Am I missing something in the file ?

This is getting a little bit frustrating because I have spent hours on this and still wasn't able to get a solution. Need some help here please .

[ui]
merge = /opt/local/bin/meld

[tortoisehg]
vdiff = /opt/local/bin/meld
like image 454
mynameisJEFF Avatar asked Nov 27 '14 11:11

mynameisJEFF


1 Answers

I had the same problem with kdiff3 on osx, but I'm sure this solution works for meld as well. What worked was to enable the extdiff extension in mercurial, then define kdiff3 as an extdiff command and use that in the [tortoisehg] section.

This is my .hgrc file with these changes made:

[extensions]
extdiff =

[extdiff]
cmd.kiddf3 = /usr/local/bin/kdiff3

[tortoisehg]
vdiff = kdiff3 
like image 57
cyon Avatar answered Oct 01 '22 19:10

cyon