Versions and using an external diff/merge tool

Sep 10, 2009   //   by Rob Segal   //   Development  //  5 Comments

Subversion has been around for a while now and there are some very reliably maintained Windows clients, most notably Tortoise SVN. Unfortunately the same can not be said for OSX. There is one client that seems to stand out quite a bit from the others, Versions. Keep in mind that Versions is not free like Tortoise SVN but so far it has proven to be well worth the money.

Versions is a great tool but one of things it lacks is integration into one of my preferred diff/merge tools KDiff. Thankfully the developers of Versions have exposed hooks to allow people to write scripts which will allow users to integrate their preferred diff/merge application. I’ll show you how I was able to do that and how you can integrate your preferred application.

Versions has great support forums and after posting a question about how to integrate kDiff I was led to this page detailing how I could do just that.

The key steps to get your diff script to work…

  1. Copy your script to the folder “~/Library/Application Support/Versions/Compare Scripts”
  2. In Versions preferences in the file comparison drop down select your compare script

That’s it you should be set to go.  Here’s a screenshot of how kDiff is integrated in my preferences screen.

VersionsPreferencesKDiffSetup

5 Comments

  • Thank you – this is just what I was looking for. I took Cornerstone over Versions a while ago and frankly liked it better. However, it is not compatible with Snow Leopard… Time to take Versions for a spin again.

  • I didn't come across Cornerstone in my travels. Thanks for pointing it out and glad my tip could be of some help to you.

  • I didn't come across Cornerstone in my travels. Thanks for pointing it out and glad my tip could be of some help to you.

  • I didn't come across Cornerstone in my travels. Thanks for pointing it out and glad my tip could be of some help to you.

  • Could u show me your python script content?

Leave a comment

Our Games

Latest Tweets