<?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>Moki Systems Blog &#187; SVN</title>
	<atom:link href="http://www.mokisystems.com/blog/category/svn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mokisystems.com/blog</link>
	<description>Addressing such topics as: web programming, design, ruby on rails, cake php, postgresql, linux, seo</description>
	<lastBuildDate>Fri, 20 May 2011 15:22:13 +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>Recover a deleted file in Subversion</title>
		<link>http://www.mokisystems.com/blog/recover-a-deleted-file-in-subversion/</link>
		<comments>http://www.mokisystems.com/blog/recover-a-deleted-file-in-subversion/#comments</comments>
		<pubDate>Thu, 29 May 2008 17:40:20 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[SVN]]></category>
		<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://www.mokisystems.com/blog/recover-a-deleted-file-in-subversion/</guid>
		<description><![CDATA[SVN is great for keeping our projects under tight control.  Occasionally, we have the need to get something back that was deleted in a previous revision.  So I can remember how to do it next time, here it is:

$ svn copy -r 1234 url/to/deleted/file path/to/recovered/file

This will copy the file at the revision specified [...]]]></description>
			<content:encoded><![CDATA[<p>SVN is great for keeping our projects under tight control.  Occasionally, we have the need to get something back that was deleted in a previous revision.  So I can remember how to do it next time, here it is:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">$ svn copy -r <span style="color: #000000;">1234</span> url<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>deleted<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">file</span> path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>recovered<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">file</span></pre></div></div>

<p>This will copy the file at the revision specified to the new file in the &#8220;restore to path&#8221; part.  You can find the revision by doing an &#8217;svn log &#8211;verbose&#8217; of the directory it was in.  That&#8217;s all there is to it!</p>
<p>My theme seems to be restoring and recovering&#8230; is that a bad thing?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mokisystems.com/blog/recover-a-deleted-file-in-subversion/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

