tkdiff for Mercurial

Computing 2011. 4. 10. 22:10

tkdiff is an essential tool for developers who are using Revision Control System.

It is such a shame thing that tkdiff does not support diff for mercurial.

I googled for tkdiff for mercurial and found this url:

http://mirror.leaseweb.com/gentoo-portage/dev-util/tkdiff/files/tkdiff-4.1.4-hg.patch

But it's been generated with -u option of diff. You need to create directories and blablabla.

Here goes diff file for tkdiff 4.1.4:


You can check the version of tkdiff you're using by viewing its source. No need to be afraid of. tkdiff is just a script. It is all text file.

Just apply the patch by:

$ sudo patch -p0 /usr/bin/tkdiff < tkdiff.patch

Substitute "/usr/bin/tkdiff" with your path to tkdiff.

Enjoy it.

: