<?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>Lesnikowski Blog &#187; svn</title>
	<atom:link href="http://www.lesnikowski.com/blog/index.php/tag/svn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lesnikowski.com/blog</link>
	<description>.Net</description>
	<lastBuildDate>Wed, 28 Jul 2010 10:10:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to permanently remove a SVN folder</title>
		<link>http://www.lesnikowski.com/blog/index.php/how-to-permanently-remove-svn-folder/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-permanently-remove-svn-folder</link>
		<comments>http://www.lesnikowski.com/blog/index.php/how-to-permanently-remove-svn-folder/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 10:04:34 +0000</pubDate>
		<dc:creator>Pawel Lesnikowski</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=168</guid>
		<description><![CDATA[Recently I wanted to permanently remove a folder from Subversion repository.
Basically it was a folder with large amount of test data, and I decided to rename every single file inside. Doing it with &#8216;SVN rename&#8230;&#8217; for 3000 items was out of question.
The solution was quite simple:
First dump the whole repository:
svnadmin dump "D:\My projects\SVN Data" &#62; [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.lesnikowski.com/blog/wp-content/uploads/2009/10/svn.png" alt="svn" title="svn" width="190" height="166" class="alignleft size-full wp-image-175" />Recently I wanted to <strong>permanently remove a folder from Subversion</strong> repository.</p>
<p>Basically it was a folder with large amount of test data, and I decided to rename every single file inside. Doing it with &#8216;SVN rename&#8230;&#8217; for 3000 items was out of question.</p>
<p>The solution was quite simple:</p>
<p>First <strong>dump </strong>the whole repository:<br />
<code>svnadmin dump "D:\My projects\SVN Data" &gt; dumpfile.txt</code></p>
<p>Second <strong>filter </strong>the folder I wanted to remove:<br />
<code>svndumpfilter exclude Mail\eml &lt; dumpfile.txt &gt; filtered-dumpfile.txt</code></p>
<p>Then <strong>delete and create</strong> a new repository:<br />
<code>Delete repository<br />
Create repository<br />
</code></p>
<p>Finally <strong>load </strong>the filtered dump into SVN repository:<br />
<code>svnadmin load "D:\My projects\SVN Data" &lt; filtered-dumpfile.txt</code></p>
<p>You can also use this procedure for <strong>upgrading SVN repository version</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lesnikowski.com/blog/index.php/how-to-permanently-remove-svn-folder/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
