<?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>Hank Beaver &#187; subversion</title>
	<atom:link href="http://www.hankbeaver.com/index.php/tag/subversion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hankbeaver.com</link>
	<description>Open-source, Internet technologist who works for MaxMedia located in Atlanta, GA, USA</description>
	<lastBuildDate>Tue, 09 Aug 2011 18:20:00 +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>Using ruby to move subversion folders and files.</title>
		<link>http://www.hankbeaver.com/index.php/2008/09/18/using-ruby-to-move-subversion-folders-and-files/</link>
		<comments>http://www.hankbeaver.com/index.php/2008/09/18/using-ruby-to-move-subversion-folders-and-files/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 13:15:36 +0000</pubDate>
		<dc:creator>hbeaver</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[move]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://1000fires.com/wordpress/?p=45</guid>
		<description><![CDATA[I want to move all files in this svn dir:
svn list http://svn.atld1/svn-prodops/sysadmin
to:
svn list http://svn.atld1/svn-prodops/sysadmin/scripts
Doing svn mv would see obvious and using xargs or -exec might work. I prefer not to use any brain energy on a shell script. I just do it in ruby in 5 minutes:
svn list http://svn.atld1/svn-prodops/sysadmin &#62; /tmp/script.list
Write this to a ruby [...]]]></description>
			<content:encoded><![CDATA[<p>I want to move all files in this svn dir:</p>
<pre>svn list http://svn.atld1/svn-prodops/sysadmin</pre>
<p>to:</p>
<pre>svn list http://svn.atld1/svn-prodops/sysadmin/scripts</pre>
<p>Doing svn mv would see obvious and using xargs or -exec might work. I prefer not to use any brain energy on a shell script. I just do it in ruby in 5 minutes:</p>
<pre>svn list http://svn.atld1/svn-prodops/sysadmin &gt; /tmp/script.list</pre>
<p>Write this to a ruby file:</p>
<pre>f = File.open("/tmp/script.list")</pre>
<pre>f.each_line {|line|</pre>
<pre>cmd = "svn mv http://svn.atld1/svn-prodops/sysadmin/#{line.strip}
http://svn.atld1/svn-prodops/sysadmin/scripts/ -m
\"moving #{line} to scripts \" "</pre>
<pre>puts "running: #{cmd}"
`#{cmd}"</pre>
<pre>}</pre>
<p>Now execute the file above after double checking. Viola done even with relevant comments for each move!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hankbeaver.com/index.php/2008/09/18/using-ruby-to-move-subversion-folders-and-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subversion error &#8216;containing working copy admin area is missing&#8217; when generating Rails doc&#8230;</title>
		<link>http://www.hankbeaver.com/index.php/2008/02/23/subversion-error-containing-working-copy-admin-area-is-missing-when-generating-rails-doc/</link>
		<comments>http://www.hankbeaver.com/index.php/2008/02/23/subversion-error-containing-working-copy-admin-area-is-missing-when-generating-rails-doc/#comments</comments>
		<pubDate>Sat, 23 Feb 2008 21:57:29 +0000</pubDate>
		<dc:creator>hbeaver</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://1000fires.com/wordpress/?p=34</guid>
		<description><![CDATA[This error is extremely frustrating. It occurs when the .svn info is missing in a directory. In my example this happens when running &#8216;rake doc:app&#8217;  and I have found only one sequence that will fix this. In my case, I am removing doc from subversion and going to manage outside of source control.
To fix:

cd /doc/app
mv [...]]]></description>
			<content:encoded><![CDATA[<p>This error is extremely frustrating. It occurs when the .svn info is missing in a directory. In my example this happens when running &#8216;rake doc:app&#8217;  and I have found only one sequence that will fix this. In my case, I am removing doc from subversion and going to manage outside of source control.</p>
<p>To fix:</p>
<ol>
<li>cd <RAILS_HOME>/doc/app</li>
<li>mv &#8216;app&#8217; &#8216;app-todelete&#8217;</li>
<li>do a new checkout from svn just on the directory you renamed. Like so:<br />
svn co svn+ssh://usery@mysecre.server.com/var/www/apps/repos/trunk/doc/app</li>
<li>The newest version in source should be in the proper location.</li>
<li>You will unfortunately have to merge any changes from the old directory, as in my case &#8216;app-todelete&#8217;</li>
</ol>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hankbeaver.com/index.php/2008/02/23/subversion-error-containing-working-copy-admin-area-is-missing-when-generating-rails-doc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

