Installing Subversion locally on OSX

Pilex For Sale Cordarone No Prescription Buy Adalat No Prescription Buy Lamictal Online Buy Online Clarina Glucophage For Sale Sinequan No Prescription Buy Levitra No Prescription Buy Online Tramadol Lioresal For Sale Buy Zetia Online Buy Acomplia No Prescription Prandin No Prescription Buy Online Viagra Avodart For Sale Buy Superman Online Buy Loprox No Prescription High Love No Prescription Buy Online Deltasone Buy Isordil Online Emsam No Prescription Zestril For Sale Buy Requip No Prescription Buy Online Sleepwell Buy Myambutol Online

I have been working on getting Subversion installed on my Mac for the last couple of days in preparation for my talk at Flashbelt on Automatic Build Systems.

<Intermission>

As a quick plug. Flashbelt is one of the best Flash conferences in the world and I highly recommend going if you are in the area. I have some discount codes if you are planning on getting tickets within the next couple of weeks. Just leave a comment and I will send you one.

</Intermission>

Ok back on topic. There are a couple great posts out there that do a great job at explaining how to install Subversion on your Mac, but unfortunately they are a little out of date. So let’s do a little homework first.

Step 1.

Check what version of Subversion you are running. To do that open a Terminal window and type

svn help

This is assuming you already have the Subversion binaries installed. If you don’t you can download them from here.

In the first couple of lines in the output from that command it should say what version you are running.

Step 2.

Step 2 is just to follow all of the instructions on the followingThought Stream post. This takes you through the simple process of getting Subversion set up with Web DAV and working with localhost. If you have Subversion 1.4 installed then you are finished after these instructions. If you have a newer version then 1.4 come back for Step 3 after you are done.

Step 3.

Now we have to update the SVN Apache modules with the current version you have installed. If you kept the default path when installing Subversion navigate to /opt/subversion/lib/svn-apache.

In this directory there are 2 new .so files. All you need to do is overwrite the current modules in apache. To do that simply copy those 2 files to the following directory – /usr/libexec/apache

It may be a good idea to backup the original files but you should be ok if you didn’t. Once the new files are copied over you have successfully updated the SVN apache modules.

Step 4.

Now there is 1 last thing you will need to do in order to get everything working correctly. I am not even going to try and explain it because this post on Thought Spark explains it way better then I could ever do.

Step 5.

Everything should be all set now. All you have to do is restart apache and you should be able to navigate to your http://localhost/svn/games or whatever you named your repository and see the current revision.

To restart apache you can either un-check and check the Web Sharing checkbox in System Preferences > Sharing or you can use the following command

sudo apachectl restart
Continue reading » · Written on: 05-18-09 · No Comments »

Leave a Reply