How to use vimdiff as SVN DIFF tool



Hi,

in this post I am going to explain how to configure your svn-client to use vimdiff as default SVN diff tool.

when I work on my Linux machine, and I try to view changes done on a file before committing to SVN, I use SVN DIFF command to compare my changes.

it works cool for files having few changes, but whenever I make N number of changes to a large file, and I try to compare it using SVN DIFF its vary painful and time consuming task, but same will be easy if SVN show these changes graphically like VIMDIFF do. I always used vimdiff for comparing two files on my Linux machine.

that time I got the idea that, can we use VIMDIFF as SVN DIFF tool?

Answer is YES….

and here’s the solution:

create a file called svndiff.sh any where on your machine i.e. /home/girishgaurav/svndiff.sh

 

 

give it the execute permission using

chmod 777 /home/girishgaurav/svndiff.sh

now you done half way 🙂

now open svn-client’s config file i.e. /etc/subversion/config

 

now you all done 🙂

now your SVN DIFF command will use vimdiff as default diff-viewer.

 

60 comments

60 pings

Skip to comment form

    • faith on July 18, 2012 at 9:24 AM

    Greetings thanks for great publish i used to be browsing for this issue final two times. I’ll look for future precious posts. Have entertaining admin.

    • Ted on April 5, 2012 at 11:25 PM

    Thanks for this article. I think your blog post was highly absorbing. Cheers once again – I will come back.

  1. Kudos for this post. I think your blog was pretty interesting. Cheers once again – I will drop by again.

  2. Youre so cool! I dont suppose Ive learn something like this before. So good to seek out somebody with some authentic ideas on this subject. realy thanks for beginning this up. this web site is one thing that’s needed on the internet, somebody with a little originality. helpful job for bringing something new to the web!

  3. An impressive share, I just given this onto a colleague who was doing a little analysis on this. And he in fact bought me breakfast because I found it for him.. smile. So let me reword that: Thnx for the treat! But yeah Thnkx for spending the time to discuss this, I feel strongly about it and love reading more on this topic. If possible, as you become expertise, would you mind updating your blog with more details? It is highly helpful for me. Big thumb up for this blog post!

  4. simply wanted to comment on your wonderfully designed website, awesome job!

  5. I used to be very happy to seek out this net-site.I needed to thanks on your time for this wonderful read!! I definitely enjoying each little little bit of it and I have you bookmarked to check out new stuff you weblog post.

  6. quality post, I’m sharing it on FB!

  7. Hey I think you have a great blog going here, I found it on Bing and plan on returning regularly for the information that you all are providing.|Thanks for making my morning a little bit better with this great article!

    • Adriana on February 25, 2012 at 5:23 PM

    thanks for share!

  8. really good article. Ready to hear more next week

  9. Thank you for the material, and the web-site certainly looks wonderful. Just what wordpress theme are you utilizing?

  10. Considerably, the article is in reality the greatest on this noteworthy topic. I agree with your conclusions and also will certainly eagerly look forward to your next updates. Saying thanks will not simply just be enough, for the amazing clarity in your writing. I will certainly without delay grab your rss feed to stay privy of any kind of updates. Pleasant work and much success in your business dealings!

  11. Yo. I truly required to actually leave a swift note and also inform you understand that in fact I’ve been focusing on your personal blog for quite some time. Keep up the very awesome task and I’ll be looking back again another time quickly.

    • Levitra on January 15, 2012 at 1:40 AM

    I like the look of your website! It looks really awesome.

  12. I agree with your points , great post.

  13. Well I truly enjoyed reading it. This information procured by you is very practical for proper planning.

  14. I don¡¯t ordinarily comment but I gotta say regards for that post on this one.

  15. I think that is one of the such a lot vital information for me. And i’m satisfied studying your article. But wanna remark on few normal things, The website style is ideal, the articles is actually excellent : D. Excellent process, cheers

    • agent on November 3, 2011 at 11:29 PM

    Wow, superb blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your web site is excellent, let alone the content!

    • video on November 3, 2011 at 10:36 PM

    I’m truly enjoying the design and layout of your website. It’s a very easy on the eyes which makes it much more enjoyable for me to come here and visit more often. Did you hire out a developer to create your theme? Excellent work!

  16. Heya i’m for the primary time here. I came across this board and I find It really helpful & it helped me out much. I am hoping to present something back and help others like you helped me.

  17. wow, nice post, I was wondering the same thing. and found your site by bing, many userful stuff here, now i have got some idea. bookmarked and also signed up your rss. keep us updated.

  18. Regards for sharing How to use vimdiff as SVN DIFF tool » Girish Gaurav's Blog with us keep update bro love your article about How to use vimdiff as SVN DIFF tool » Girish Gaurav's Blog .

  19. After research a number of of the blog posts on your web site now, and I actually like your method of blogging. I bookmarked it to my bookmark web site listing and shall be checking again soon. Pls check out my site as well and let me know what you think.

  20. I like the helpful info you provide in your articles. I will bookmark your blog and check again here regularly. I’m quite certain I will learn lots of new stuff right here! Best of luck for the

  21. My partner and I stumbled over here different web address and thought I might check things out. I like what I see so now i’m following you. Look forward to exploring your web page for a second time.

  22. I would like to thank you for the efforts you’ve put in writing this site. I’m hoping the same high-grade blog post from you in the upcoming also. Actually your creative writing skills has inspired me to get my own blog now. Really the blogging is spreading its wings rapidly. Your write up is a good example of it.

  23. I like Your Article about How to use vimdiff as SVN DIFF tool » Girish Gaurav's Blog Perfect just what I was searching for! .

  24. I like Your Article about How to use vimdiff as SVN DIFF tool » Girish Gaurav's Blog Perfect just what I was looking for! .

  25. Hello There. I found your blog using msn. This is a really well written article. I will be sure to bookmark it and return to read more of your useful information. Thanks for the post. I will definitely return.

  26. I agree with your How to use vimdiff as SVN DIFF tool » Girish Gaurav's Blog, excellent post.

  27. I’m extremely impressed with your writing skills as well as with the layout on your weblog. Is this a paid theme or did you modify it yourself? Anyway keep up the excellent quality writing, it’s rare to see a great blog like this one today..

  28. Quite good article. I basically stumbled upon an individual’s web site together with desired that will state the fact that I have truly liked studying an individual’s blog site together with articles. Anyway I’ll get following an individual’s provide for together with That i intend that will read an individual’s blog site for a second time.

  29. I just want to say I’m all new to blogging and site-building and honestly enjoyed you’re web page. Very likely I’m likely to bookmark your blog . You surely come with excellent posts. Many thanks for revealing your webpage.

  30. Hmm. I see precisely what you mean. Hey, do you happen to have an Feed? Im trying to subscribe so I can get updates. Let me know. I truly enjoy reading your site! If you keep making great posts I will return every single day to keep reading!

  31. Excellent piece of writing and easy to understand story. How do I go about getting agreement to post part of the article in my upcoming newsletter? Offering proper credit to you the source and weblink to the site will not be a problem.

    1. Thanks for you comment, you can use any part of post to your newsletter, just give a reference of my site in your newsletter.
      you can also contact me: blog@girishgaurav.com

  32. Thankyou for sharing How to use vimdiff as SVN DIFF tool » Girish Gaurav's Blog with us keep update bro love your article about How to use vimdiff as SVN DIFF tool » Girish Gaurav's Blog .

  33. Good day I rather appreciate your information. If you’d wish to converse regarding it,I would like to communicate along with you, my name is Ashley. My own email address is in this article. Thank you!

    • links on October 7, 2011 at 4:05 AM

    Great story once again. Thanks.

  34. Quite superior article. We basically discovered your website and desired to say that We have really liked studying your blog and posts. Anyways I’ll be following your feed and I hope to study your blog again.

    • Conan on October 5, 2011 at 7:04 AM

    Is really helpful, You’re an excessively professional blogger. I’ve became a member of your feed and turn up for seeking more of your good post. Also, I have shared your site at my web sites!

  35. Thank you for the auspicious writeup. It in fact was a amusement account it. Look advanced to far added agreeable from you! By the way, how could we communicate?

  36. Regards for sharing How to use vimdiff as SVN DIFF tool » Girish Gaurav's Blog with us keep update bro love your article about How to use vimdiff as SVN DIFF tool » Girish Gaurav's Blog .

  37. Great goods from you, man. I have understand your stuff previous to and you are just too fantastic. I really like what you’ve acquired here, certainly like what you are stating and the way in which you say it. You make it entertaining and you still care for to keep it smart. I can’t wait to read far more from you. This is really a terrific web site.

  38. A formidable share, I just given this onto a colleague who was simply doing somewhat analysis on this. And hubby actually purchased me breakfast as a result of I came across it for him.. smile. So allow me to reword that: Thnx for your treat! But yeah Thnkx for spending time to debate this, I really feel strongly over it and love studying extra on this topic. If doable, when you change into expertise, could you thoughts updating your weblog with extra details? Its extremely a good choice for me. Big thumb up for this weblog publish!

  39. Very stimulating blog commentary… definitely something to think about =). Thanks for sharing this.

  40. Hi-Ya! I just loves your charming blog thanx and please keep on going

    • iPhone 5 on September 27, 2011 at 6:14 PM

    Awesome, I like your post.

  41. Great post. I was checking constantly this blog and I’m impressed! Very helpful information specially the last part I care for such information a lot. I was looking for this certain info for a long time. Thank you and good luck.

    • Ruth on September 20, 2011 at 9:08 PM

    Much appreciated for the information and share!

  42. It’s a nice blog you have over here! It’s very usefull information for me and I just want to thank you for that! If you post more threads as this one, I’ll follow your blog active!

  43. I really like it when individuals arrive collectively and share opinions, wonderful website, hold it up.

  44. Hi there, just required you to know I he added your internet site to my Google bookmarks due to your layout. But seriously, I think your net website has 1 in the freshest theme I??ve came across. It extremely helps make looking at your website significantly easier.

    • cam sex on September 17, 2011 at 9:45 PM

    This is one of the best weblogs i have ever seen and read. Thanks for sharing this usefull information. I will come back in a few days to see you have post some new articles.

  45. Keep up this good work, you have a nice blog over here with much good information! When you post some new stuff, I’ll visit your blog again and I’ll follow it.

  46. Awesome blog, it’s just like a game for me! It’s so infomative and usefull, thanks a lot! If you post more of this great stuff, I’ll visit your blog again!

  47. Hello
    I suggest Admin can set up a forum, so that we can talk and communicate.
    Nancy

    • Undine on September 15, 2011 at 2:44 AM

    It will be difficult to get familiar persons on this subject matter, however you seem like you no doubt know what you are referring to! Thanks

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: