Mercurial: How I can use external tool for diff?

I want to use kdiff3 as a tool for comparing different versions of a repository. Is there a way how one can do it?

1 Answer

I have found the answer and want to let it here in order not to forget:

Add to ~/.hgrc file the following sections:

[extensions]
hgext.extdiff =
[extdiff]
cmd.kdiff3 =

and then type:

hg kdiff3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like