<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lojic Technologies Blog &#187; subversion</title>
	<atom:link href="http://lojic.com/blog/tag/subversion/feed/" rel="self" type="application/rss+xml" />
	<link>http://lojic.com/blog</link>
	<description></description>
	<lastBuildDate>Fri, 25 Nov 2011 20:12:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Use vimdiff to display subversion diffs</title>
		<link>http://lojic.com/blog/2007/11/27/use-vimdiff-to-display-subversion-diffs/</link>
		<comments>http://lojic.com/blog/2007/11/27/use-vimdiff-to-display-subversion-diffs/#comments</comments>
		<pubDate>Tue, 27 Nov 2007 15:14:38 +0000</pubDate>
		<dc:creator>Brian Adkins</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[utility]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://lojic.com/blog/2007/11/27/use-vimdiff-to-display-subversion-diffs/</guid>
		<description><![CDATA[I prefer using vimdiff or gvimdiff to view differences between files. When researching ways to allow using vimdiff to view subversion differences, I came across this article.
The bottom line is that subversion passes the two relevant arguments as the 6th and 7th arguments, so the following shell script wrapper does the trick:

#!/bin/sh
/usr/bin/gvimdiff ${6} ${7}

Save the [...]]]></description>
			<content:encoded><![CDATA[<p>I prefer using vimdiff or gvimdiff to view differences between files. When researching ways to allow using vimdiff to view subversion differences, I came across <a href="http://blog.tplus1.com/index.php/2007/08/29/how-to-use-vimdiff-as-the-subversion-diff-tool/">this article</a>.</p>
<p>The bottom line is that subversion passes the two relevant arguments as the 6th and 7th arguments, so the following shell script wrapper does the trick:<br />
<code><br />
#!/bin/sh<br />
/usr/bin/gvimdiff ${6} ${7}<br />
</code></p>
<p>Save the script as gvimdiff_wrapper.sh, make it executable and accessible on your path. Then modify $HOME/.subversion/config to have the following line:<br />
<code><br />
diff-cmd = gvimdiff_wrapper.sh<br />
</code></p>
<p>That will allow you to use gvimdiff to display the diff generated by <code>svn diff my_file.txt</code></p>
]]></content:encoded>
			<wfw:commentRss>http://lojic.com/blog/2007/11/27/use-vimdiff-to-display-subversion-diffs/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

