<?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; svn</title>
	<atom:link href="http://www.ryannitz.org/tech-notes/tag/svn/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>
		<item>
		<title>SVN Property Edit &#8211; Ignore</title>
		<link>http://www.ryannitz.org/tech-notes/2008/09/27/svn-property-edit-ignore/</link>
		<comments>http://www.ryannitz.org/tech-notes/2008/09/27/svn-property-edit-ignore/#comments</comments>
		<pubDate>Sat, 27 Sep 2008 17:27:09 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Config]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://leisuremech.com/?p=56</guid>
		<description><![CDATA[If you have a list of files in a source repository that you would like SVN to ignore you can specify them by issuing the following command: svn propedit svn:ignore . This command pushes you to an editor window where you simply add the files/directories you would like to exclude from the repository. Once dirctories [...]]]></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>If you have a list of files in a source repository that you would like <a href="http://subversion.tigris.org/" target="_blank">SVN</a> to ignore you can specify them by issuing the following command:</p>
<pre>svn propedit svn:ignore .</pre>
<p>This command pushes you to an editor window where you simply add the files/directories you would like to exclude from the repository.</p>
<p>Once dirctories have been added, you&#8217;ll no longer seem them flagged when you type:</p>
<pre>svn status</pre>
<p>Typically, people tend to add their build directory and similar temporary files/directories.</p>
<p>Don&#8217;t forget to commit your changes:</p>
<pre>svn commit .</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ryannitz.org/tech-notes/2008/09/27/svn-property-edit-ignore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable SVN Keyword Properties</title>
		<link>http://www.ryannitz.org/tech-notes/2008/06/15/enable-svn-keyword-properties/</link>
		<comments>http://www.ryannitz.org/tech-notes/2008/06/15/enable-svn-keyword-properties/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 18:26:33 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Config]]></category>
		<category><![CDATA[keyword]]></category>
		<category><![CDATA[replace]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://leisuremech.com/?p=11</guid>
		<description><![CDATA[If you would like SVN to replace keywords and it&#8217;s not enabled by default then execute: svn propset svn:keywords Id FILE_NAME E.g., svn propset svn:keywords Id Test.java In your source file you need to add: &#8220;$Id&#8221;. E.g. /** * Test class. * @author John Smith * @version $Id$ */ public class Test { After you [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ryannitz.org/tech-notes/wp-content/uploads/2008/06/subversion_logo_hor-468x64.png"><img class="alignnone size-medium wp-image-17" title="subversion_logo_hor-468x64" src="http://www.ryannitz.org/wp-content/uploads/2008/06/subversion_logo_hor-468x64-300x41.png" alt="" width="300" height="41" /></a></p>
<p>If you would like SVN to replace keywords and it&#8217;s not enabled by default then execute:</p>
<p>svn propset svn:keywords Id FILE_NAME</p>
<p>E.g.,</p>
<p>svn propset svn:keywords Id Test.java</p>
<p>In your source file you need to add: &#8220;$Id&#8221;.</p>
<p>E.g.</p>
<pre>/**
* Test class.
* @author John Smith
* @version $Id$
*/
public class Test {</pre>
<p>After you commit the file, it will look something like:</p>
<pre>/**
* Test class.
* @author John Smith
* @version $Id: build.xml 10 2008-06-15 18:12:42Z john $
*/
public class Test {</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ryannitz.org/tech-notes/2008/06/15/enable-svn-keyword-properties/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

