<?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>Twelve Dozen &#187; svn</title>
	<atom:link href="http://www.twelvedozen.co.uk/category/svn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.twelvedozen.co.uk</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 16 Jun 2010 08:26:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing Subversion</title>
		<link>http://www.twelvedozen.co.uk/2009/08/installing-subversion/</link>
		<comments>http://www.twelvedozen.co.uk/2009/08/installing-subversion/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 16:12:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.twelvedozen.co.uk/?p=20</guid>
		<description><![CDATA[I&#8217;m fairly new to Sub Version, and to get it working on my Mac has been a challenge. But in true blogging style I thoughts I&#8217;d share my experience. After using Sub Version in action in a small development time it becomes increasing important if your working in a team on a web project, or [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m fairly new to Sub Version, and to get it working on my Mac has been a challenge. But in true blogging style I thoughts I&#8217;d share my experience. After using Sub Version in action in a small development time it becomes increasing important if your working in a team on a web project, or even if you&#8217;re a freelance web developer working on more than one computer. Recently, I&#8217;ve used Sub Version instead of FTPing to my server so I could do some CSS testing on a PC with IE 6. It&#8217;s a lot quicker than FTP and I have the option of rolling back my updates if I make a mistake. It&#8217;s also a good excuse for me to get used to sub-version. Interesting a tech group that I&#8217;m part of did a presentation about Sub Version and GIT, the 2 most popular source control software. You can watch the video at the <a href="http://www.supermondays.org/2009/09/02/supermondays-on-the-side/" target="_blank">Super Mondays website</a>.</p>
<p>Anyway, here&#8217;s how I finally got Sub Version setup on my Mac OSX. By the way my mac is using OS X 10.4 Tiger. I also installed Sub Version on OS X Leopard and it was actually easier.</p>
<h2>Install Sub Version on a Mac</h2>
<p>This is a pretty helpful tutorial:<br />
<a href="http://blog.joshbuhler.com/?year=2005&amp;monthnum=07&amp;day=05&amp;name=setting-up-the-subversion-client-on-mac-os-x&amp;page=" target="_blank">http://blog.joshbuhler.com/?year=2005&amp;monthnum=07&amp;day=05&amp;name=setting-up-the-subversion-client-on-mac-os-x&amp;page=</a></p>
<h2>Step 1: Download the subversion client and install</h2>
<p><strong>ISSUE:</strong> When I came to download the subversion client from <a href="http://www.open.collab.net/downloads/apple/?_=d ">http://www.open.collab.net/downloads/apple/?_=d </a></p>
<p>I noticed the default location for the folder was <strong>/opt/subversion/bin</strong> which is different to the deafult location on my mac which is <strong>/usr/local/bin</strong>.</p>
<h2>Step 2: Update profile</h2>
<p><strong>ISSUE:</strong> I couldn&#8217;t find my <strong>.profile</strong> file. I had a <strong>.bash_profile</strong>, but updating this didn&#8217;t make any difference.</p>
<p>I noticed I had a file called <strong>profile</strong> in my <strong>/etc</strong> folder.</p>
<p>You may need to <strong>enable view hidden files</strong> in <strong>Finder</strong> or if you&#8217;re using the <strong>terminal</strong> try navigate to the etc folder using <strong>cd /etc</strong> then use <strong>ls -a</strong>.</p>
<p>In the <strong>profile</strong> file it mentions this is the universal profile.</p>
<p>Update as described in tutorial website mentioned above, basically something like:<br />
<strong>export PATH=</strong><strong>/usr/local/bin</strong><strong>:$PATH</strong></p>
<p>Ok, now quit terminal and then open it again. The changes to the <strong>profile</strong> file that you just made will now be active.<br />
Test using the command <strong>svn</strong>.<br />
This should now present <strong>Type &#8217;svn help&#8217; for usage</strong>.</p>
<p>If you don&#8217;t see this message then SVN is not installed.</p>
<h2>Step 3: Install SVNx</h2>
<p>I downloaded the latest version of SVNx from here:<br />
<a href="http://www.lachoseinteractive.net/en/community/subversion/svnx/download/">http://www.lachoseinteractive.net/en/community/subversion/svnx/download/</a></p>
<p>I installed this over a previous version.<br />
Open <strong>SVNx</strong>, in preferences make sure that &#8216;path to svn binary folder&#8217; is set to where you installed Subversion.<br />
In my case the default was <strong>/opt/subversion/bin </strong>I changed this to<strong> </strong><strong>/usr/local/bin</strong></p>
<p>You should now be able to use <strong>SVNx</strong> to connect to your repository.</p>
<h2>Connecting to your repository</h2>
<p>To make use of sub version you&#8217;ll need to setup a repository. You can set a repo on your local machine, but what&#8217;s the point of that, you&#8217;ll want to setup an external repo. Unless you have a server that you have SSH access to and can setup your own repo I suggest the next best thing is to use the free online repository at unhuddle.com.</p>
<h2>Step 1: Sign up for a account Unhuddle.com</h2>
<p>Setup your repo. I&#8217;ll not go into detail it&#8217;s fairly straight forward.</p>
<p>In your Unhuddle account you&#8217;ll have a URL for the repo e.g. http://yourdomin.unhuddle.com/your_repo.</p>
<h2>Step 2: Setup SVNx<strong> </strong></h2>
<p>Open SVNx. Connect to your repo using the unhuddle URL, username and password.</p>
<p>Clicking on this newly created repo should open up a dialog box. If all went well that will connect and at the bottom you&#8217;ll see a <strong>root</strong> folder. As this is a new repo the root folder should be empty as you&#8217;ve not uploaded any files to it yet.</p>
<h2>Step 3: Checkout a copy of your repo</h2>
<p>The next step is to checkout a copy of the repo to a local folder. Click <strong>Check Out</strong>. Select the local folder on your computer you want to use. This seems a bit strange as there are no files to checkout, but don&#8217;t worry just do it. What this will do is add <strong>.svn</strong> files in all your folder. This is where all the info about your changes are kept.</p>
<p><strong>WARNING:</strong> If you&#8217;re using a live website project, be warned this will add .svn file to all of the folders in the local folder you select. The options are to create a backup of your live project folder, or if you use the terminal there&#8217;s a simple command that you can use to remove all the .svn files, <a href="http://www.twelvedozen.co.uk/2009/07/removing-svn-files/">How to remove SVN files</a>.</p>
<h2>Final step: Working Copy</h2>
<p>Now in the Working Copies window create an entry for your local folder. When you click on this entry a Working Copy window will open. If you have files in this folder you should now be able to Add, Commit, Delete, Revert.</p>
<h2>Enjoy</h2>
]]></content:encoded>
			<wfw:commentRss>http://www.twelvedozen.co.uk/2009/08/installing-subversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Outputting from SVN</title>
		<link>http://www.twelvedozen.co.uk/2009/08/outputting-from-svn/</link>
		<comments>http://www.twelvedozen.co.uk/2009/08/outputting-from-svn/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 08:45:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.twelvedozen.co.uk/?p=17</guid>
		<description><![CDATA[http://www.e-moxie.com/resources/tips/tip-copy-folder-without-hidden-svn/
This provides a real time saver and an issue that I&#8217;ve been wrestling with recently.
A tip for MAC/Linux users using SVN.
One of the issues that I was running into when developing websites using SVN was that I wanted to copy an existing folder from one site to another one but when copying the folders would [...]]]></description>
			<content:encoded><![CDATA[<p>http://www.e-moxie.com/resources/tips/tip-copy-folder-without-hidden-svn/</p>
<p>This provides a real time saver and an issue that I&#8217;ve been wrestling with recently.</p>
<p>A tip for MAC/Linux users using SVN.</p>
<p>One of the issues that I was running into when developing websites using SVN was that I wanted to copy an existing folder from one site to another one but when copying the folders would continue to have the hidden .svn folders.  For all that use SVN you know what I mean.</p>
<p>Normally what I did was just copy the folder and then go in and manually remove all of the hidden .svn folders.  That was okay for a folder or two, but when I needed to copy a folder which contained several sub folders it became a complete pain.  After a little bit of searching I found a solution for those on a MAC or using Linux.</p>
<p>Open up a terminal and type the following.</p>
<p>    rsync -aC –exclude .svn TARGET FOLDER DESTINATION FOLDER</p>
<p>Note: there are two hyphens before exclude. (That tripped me up for a bit).</p>
<p>Hope that helps someone.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.twelvedozen.co.uk/2009/08/outputting-from-svn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
