<?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>Tech Notes &#187; subversion</title>
	<atom:link href="http://www.ryannitz.org/tech-notes/tag/subversion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ryannitz.org/tech-notes</link>
	<description>Miscellaneous technology examples and notes</description>
	<lastBuildDate>Sun, 03 Apr 2011 16:48:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<image>
  <link>http://www.ryannitz.org/tech-notes</link>
  <url>http://ryan-nitz/favicon.ico</url>
  <title>Tech Notes</title>
</image>
		<item>
		<title>Subversion &#8211; Checkout Older Revision</title>
		<link>http://www.ryannitz.org/tech-notes/2008/11/20/subversion-checkout-older-revision/</link>
		<comments>http://www.ryannitz.org/tech-notes/2008/11/20/subversion-checkout-older-revision/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 00:25:04 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Examples]]></category>
		<category><![CDATA[revsion]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://leisuremech.com/?p=71</guid>
		<description><![CDATA[The SVN syntax for reverting to a previous version of a file is less than obvious. If you want to pull down a previous version of a file type you must first choose a version: svn log FILE_NAME This will list all the changes to the file. Next, you pick the revision you are interested [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ryannitz.org/tech-notes/wp-content/uploads/2008/09/subversion_logo_hor-468x64-300x41.png"><img class="alignnone size-medium wp-image-57" title="subversion_logo_hor-468x64-300x41" src="http://www.ryannitz.org/tech-notes/wp-content/uploads/2008/09/subversion_logo_hor-468x64-300x41.png" alt="" width="300" height="41" /></a></p>
<p>The SVN syntax for reverting to a previous version of a file is less than obvious. If you want to pull down a previous version of a file type you must first choose a version:</p>
<pre>svn log FILE_NAME</pre>
<p>This will list all the changes to the file. Next, you pick the revision you are interested in and then type:</p>
<pre>svn up -r REVISION_NUMBER FILE_NAME</pre>
<p>This will pull down the older version/revision of the file. Next, we are going to rename the file:</p>
<pre>mv FILE_NAME FILE_NAME.good</pre>
<p>The next step is to pull down the current version of the file:</p>
<pre>svn up FILE_NAME</pre>
<p>After that is done we are move the &#8220;good&#8221; file on top of the latest version:</p>
<pre>mv FILE_NAME.good FILE_NAME</pre>
<p>Now commit the change:</p>
<pre>svn ci FILE_NAME</pre>
<p>It seems like there should be an easier way without merging so if anyone knows an easier way, please post it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryannitz.org/tech-notes/2008/11/20/subversion-checkout-older-revision/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

