Best way to fix SVN error "Could not start external diff program"

One day you found that the SVN Diff function didn't work, you will see the error "Could not start external diff program" when you try to compare 2 versions of the file (the working item vs the one on repository).
This could happen on both Windows and Linux, Mac OS... Don't worry, it's not caused by OS but sometimes due to the update of the diff tool (e.g Beyond Compare 3 is updated to Beyond Compare 4), this makes the link to external diff program in SVN settings not valid anymore.
So how to fix this error? Just follow the steps below:
1. Right-click a SVN file (it can be any file with SVN version mark)
2. Select TortoiseSVN -> Settings -> Diff Viewer
3. There are 2 options here:
3.1 You can choose the "TortoiseMerge" to use the SVN default diff tool
3.2 or choose your preferred program by clicking "External" -> Enter path to external diff program
4. Click OK to save all your configuration

Now enjoy the convenience of diff feature!

PS: I found that there's no such solution like this so please share this post if you think it's helpful to the programmer community :)
Thanks!

If you're now hurry, please spend some minutes to watch this useful tip to know how to install Subversive SVN Plug-In in Eclipse. This is the Official Guide from SVN foundation

Comments

Post a Comment

Popular posts from this blog

Using the TLP250 Isolated MOSFET Driver - Explanation and Example Circuits

N-Channel MOSFET High-Side Drive: When, Why and How?

Using the high-low side driver IR2110 - explanation and plenty of example circuits