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

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

Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest