<?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>Marius van Witzenburg &#187; Subversion</title>
	<atom:link href="http://kitara.nl/tag/subversion/feed/" rel="self" type="application/rss+xml" />
	<link>http://kitara.nl</link>
	<description>We fight for our survival, we fight!</description>
	<lastBuildDate>Sun, 20 May 2012 15:39:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How to relocate repository root URL of your Subversion working copy</title>
		<link>http://kitara.nl/2011/06/24/how-to-relocate-repository-root-url-of-your-subversion-working-copy/</link>
		<comments>http://kitara.nl/2011/06/24/how-to-relocate-repository-root-url-of-your-subversion-working-copy/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 13:25:24 +0000</pubDate>
		<dc:creator>mariusvw</dc:creator>
				<category><![CDATA[BSD / Linux / Unix]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[Location]]></category>
		<category><![CDATA[Path]]></category>
		<category><![CDATA[Relocate]]></category>
		<category><![CDATA[Root]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Switch]]></category>
		<category><![CDATA[URL]]></category>

		<guid isPermaLink="false">http://kitara.nl/?p=5651</guid>
		<description><![CDATA[Ever had this issue a administrator changed the location of the repository? Well, I had Relocating the URL of the repository is quite simple with svn switch --relocate, here you have some simple steps to fix your working copy. 1. Go into the current working copy. cd /path/to/your/working/copy 2. Get the current repository root URL. [...]]]></description>
			<content:encoded><![CDATA[<p>Ever had this issue a administrator changed the location of the repository?</p>
<p>Well, I had <img src='http://kitara.nl/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Relocating the URL of the repository is quite simple with <strong>svn switch --relocate</strong>, here you have some simple steps to fix your working copy.</p>
<p><strong>1.</strong> Go into the current working copy.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">cd /path/to/your/working/copy</pre></div></div>

<p><strong>2.</strong> Get the current repository root URL.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">svn info</pre></div></div>

<p><strong>3.</strong> Now switch the old repository root to the new repository root.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">svn switch --relocate http://old_repository_root http://new_repository_root</pre></div></div>

<p><strong>4.</strong> Optionally you can verify if the relocate went successful.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">svn info</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://kitara.nl/2011/06/24/how-to-relocate-repository-root-url-of-your-subversion-working-copy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to show hidden .htaccess files in Eclipse and Aptana</title>
		<link>http://kitara.nl/2011/06/14/how-to-show-hidden-htaccess-files-in-eclipse-and-aptana/</link>
		<comments>http://kitara.nl/2011/06/14/how-to-show-hidden-htaccess-files-in-eclipse-and-aptana/#comments</comments>
		<pubDate>Tue, 14 Jun 2011 18:55:18 +0000</pubDate>
		<dc:creator>mariusvw</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Aptana]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Files]]></category>
		<category><![CDATA[Hidden]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Visible]]></category>

		<guid isPermaLink="false">http://kitara.nl/?p=329</guid>
		<description><![CDATA[Most webdevelopers require .htaccess files to be visible in their projects, since by default Eclipse and Aptana both hide files starting with a . (=period) this can be quite irritating since you have to open the file from your operating system file explorer. The fix to make .htaccess files visible is quite simple, you have [...]]]></description>
			<content:encoded><![CDATA[<p>Most webdevelopers require .htaccess files to be visible in their projects, since by default Eclipse and Aptana both hide files starting with a . (=period) this can be quite irritating since you have to open the file from your operating system file explorer.</p>
<p>The fix to make .htaccess files visible is quite simple, you have to modify the file browser view filter to show hidden files but hide certain file types so you won't get a mess in your view.</p>
<p>First goto the filters menu by clicking the little arrow on the top right of the file browser and click 'Filters...'.</p>
<p>See the menu below:<br />
<a href="http://kitara.nl/wp-content/uploads/2011/06/eclipse_hidden_files-1.png"><img src="http://kitara.nl/wp-content/uploads/2011/06/eclipse_hidden_files-1-512x320.png" alt="" title="Eclipse or Aptana hidden files, 1" width="512" height="320" class="alignnone size-medium wp-image-330" /></a></p>
<p>When you are at the filter menu you will see the following window:<br />
<a href="http://kitara.nl/wp-content/uploads/2011/06/eclipse_hidden_files-2.png"><img src="http://kitara.nl/wp-content/uploads/2011/06/eclipse_hidden_files-2-448x512.png" alt="" title="Eclipse or Aptana hidden files, 2" width="448" height="512" class="alignnone size-medium wp-image-331" /></a></p>
<p>In this window uncheck <em>'.* resources'</em> and check <em>'Name filter patterns (matching names will be hidden):'</em>.</p>
<p>Now you have to add a filter because you will be flooded by hidden files in your file explorer.<br />
The filter I used is:</p>
<blockquote><p>._*, .svn, .cvsignore, _notes, .*.swp, .DS_Store, .AppleDouble, .project, .buildpath, .settings, .git, .nbproject</p></blockquote>
<p>You might append more filters to your needs.</p>
<p>In case you have a remote filesystem plugin installed you might need to check <em>'Show hidden files'</em> in your preferences.</p>
<p>This is an example how this window might look:<br />
<a href="http://kitara.nl/wp-content/uploads/2011/06/eclipse_hidden_files-remote.png"><img src="http://kitara.nl/wp-content/uploads/2011/06/eclipse_hidden_files-remote-512x447.png" alt="" title="Eclipse or Aptana hidden remote files" width="512" height="447" class="alignnone size-medium wp-image-332" /></a></p>
<p>Another handy thing to know, <strong>never edit the .project file!</strong></p>
<p>That was about it for now, happy coding! <img src='http://kitara.nl/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://kitara.nl/2011/06/14/how-to-show-hidden-htaccess-files-in-eclipse-and-aptana/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to copy/move code between Subversion repositories</title>
		<link>http://kitara.nl/2011/06/12/how-to-copymove-code-between-subversion-repositories/</link>
		<comments>http://kitara.nl/2011/06/12/how-to-copymove-code-between-subversion-repositories/#comments</comments>
		<pubDate>Sun, 12 Jun 2011 11:26:02 +0000</pubDate>
		<dc:creator>mariusvw</dc:creator>
				<category><![CDATA[BSD / Linux / Unix]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Copy]]></category>
		<category><![CDATA[Move]]></category>
		<category><![CDATA[Repository]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://kitara.nl/?p=135</guid>
		<description><![CDATA[I found this solution to move your code/projects between repositories, maybe not the most ideal way but it works great! Thanks to Dan Forys! As many coders will tell you, there reaches a point where you realise that you absolutely, positively must keep your code in a a revision control system. In my working life, [...]]]></description>
			<content:encoded><![CDATA[<p>I found this solution to move your code/projects between repositories, maybe not the most ideal way but it works great! Thanks to <strong>Dan Forys</strong>!</p>
<p>As many coders will tell you, there reaches a point where you realise that you absolutely, positively must keep your code in a a revision control system. In my working life, I’ve used Microsoft’s ageing SourceSafe and more recently the vastly superior SubVersion (SVN).</p>
<p>There’s many powerful GUIs out there which you can use to interact with SVN, and make the checking out and checking in very easy. If you primarily use a desktop GUI (like me), then chances are you use a SVN client GUI to interact with SVN on a day-to-day basis.</p>
<p>But what happens when you need to move code between repositories?</p>
<p>I first realised I needed to reorganise my repositories when my single “clients” repository was growing unwieldy. It was one large repository, with all my client work organised into folders by the project name. This method keeps things very tidy, but increments the version numbers with every commit on every project and means you have a very long root log.</p>
<p>A better way, I realised, is to keep the unrelated projects organised in their own repositories – but how to move the code out of my client repository into a new one?</p>
<p>To do this, you’ll need shell access to your SVN server (surely you do – otherwise, how do you create your repositories?)</p>
<p>SVN provides the svnadmin dump command to export data from your repository. In my case, to dump the contents of my entire clients repository, I did the following:</p>
<pre>
svnadmin dump clients > clients-dumpfile
</pre>
</p>
<p>Which creates a text file called clients-dumpfile containing all the revision data for my clients repository. Note that this can create a very large file, as it’s not stored in the ultra-efficient space-saving SVN database any longer.</p>
<p>Say I want to move all my code from a folder called client-1, and put it in its own repository. First thing I need to do, is to create the destination repository:</p>
<pre>
svnadmin create client-1-repository
</pre>
</p>
<p>Now – the dumpfile contains <em>all</em> the code for all the projects, so how do I filter out the other projects? (this is all one line)</p>
<pre>
svndumpfilter include client-1 --drop-empty-revs --renumber-revs --preserve-revprops < ./clients-dumpfile > ./client-1-filtered-dumpfile
</pre>
</p>
<p>What does this do? It takes the previously created clients-dumpfile and sends it through the svndumpfilter program. I’ve told it to <em>include</em> the client-1 folder (and throw away everything else). I’ve told it to drop the empty revisions left behind by the thrown away data, and renumber the rest of the revisions so my new repository is nicely sequentially numbered. The results from svndumpfilter are output into a new file called client-1-filtered-dumpfile.</p>
<p>Finally, you simply load the data into the new repository:</p>
<pre>
svnadmin load client-1-repository < client-1-filtered-dumpfile
</pre>
</p>
<p>Hopefully, you now have a populated repository with your clients’ code.</p>
]]></content:encoded>
			<wfw:commentRss>http://kitara.nl/2011/06/12/how-to-copymove-code-between-subversion-repositories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to upgrade CakePHP or any other package that is under subversion control with Rsync</title>
		<link>http://kitara.nl/2010/07/26/how-to-upgrade-cakephp-or-any-other-package-that-is-under-subversion-control-with-rsync/</link>
		<comments>http://kitara.nl/2010/07/26/how-to-upgrade-cakephp-or-any-other-package-that-is-under-subversion-control-with-rsync/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 10:54:36 +0000</pubDate>
		<dc:creator>mariusvw</dc:creator>
				<category><![CDATA[BSD / Linux / Unix]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[Rsync]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Update]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[Version]]></category>

		<guid isPermaLink="false">http://mariusvw.com/?p=4010</guid>
		<description><![CDATA[Actually this is more simple than you might think. First you checkout your current version. Then download and un-tar the new version and simply run the following command on your shell/terminal: rsync -av --exclude '.svn' --exclude '._*' my/new/cakephp-cakephp-efb6e08/ my-old-cakephp/ This will exclude your Subversion .svn directories and it will also exclude the META-data files created [...]]]></description>
			<content:encoded><![CDATA[<p>Actually this is more simple than you might think.</p>
<p>First you checkout your current version. Then download and un-tar the new version and simply run the following command on your shell/terminal:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rsync <span style="color: #660033;">-av</span> <span style="color: #660033;">--exclude</span> <span style="color: #ff0000;">'.svn'</span> <span style="color: #660033;">--exclude</span> <span style="color: #ff0000;">'._*'</span> my<span style="color: #000000; font-weight: bold;">/</span>new<span style="color: #000000; font-weight: bold;">/</span>cakephp-cakephp-efb6e08<span style="color: #000000; font-weight: bold;">/</span> my-old-cakephp<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>This will exclude your Subversion .svn directories and it will also exclude the META-data files created by Mac OS X.</p>
<p>Good luck with upgrading! <img src='http://kitara.nl/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://kitara.nl/2010/07/26/how-to-upgrade-cakephp-or-any-other-package-that-is-under-subversion-control-with-rsync/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

