Tutorial: Subversion on Mac OS X

This tutorial has been moved to Macpot — as I make updates to it occasionally, I’m linking here in order to avoid maintaining two separate copies.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit

14 Comments so far

  1. Forever Geek May 18th, 2005 8:15 pm

    Subversion on Mac OSX

    Frank Pape of Distracto has put together a quick tutorial on installing Subversion on Mac OSX. He goes through installation (relatively simple with provided installation packages) as well as post-installation tasks. Also, as long as we’re on the subjec…

  2. Gute May 19th, 2005 6:41 am

    That is really cool! At work I use clearcase, but I always wanted something better than CVS to use at home. Did you ever use subversion with XCode 2.0 ?
    I know XCode has some integration with version control, but I’m not sure how to use it. Thanks!

  3. Frank Pape May 19th, 2005 9:20 am

    Well, as a relatively new machead, I haven’t yet taken the time to play with XCode extensively. But it does look like there’s some pretty decent documentation on how to hook it into a version control system.

  4. ...pickhits... May 22nd, 2005 10:22 am

    links for 2005-05-22

    Environmental Heresies Stewart Brand article, oft cited, regarding forward changes in environmentalism (tags: politics stewartBrand CoEvQ energy) Distracto: Tutorial:…

  5. Jeff Hartman May 25th, 2005 9:08 pm

    I have a Mac GUI heritage and although I enjoy the command line, I haven’t a clue sometimes. At the step:

    svn import /tmp/personal file:///usr/local/svn -m “initial import”

    I get an error:
    svn: Unable to open an ra_local session to URL
    svn: Unable to open repository ‘file:///usr/local/svn’

    Not sure where to go with that. Installed Martin Ott’s 1.2 package and am walking through this step by step. FWIW, I could not use svnadmin create due to permissions so I created the directories manually and sudo chown’ed them.

  6. Frank Pape May 26th, 2005 1:52 pm

    Jeff: you would get that error if the svnadmin create failed.

    Looking back over the tutorial, I realize this is completely unclear, but you will need to run “svnadmin create /usr/local/svn” again after creating the directory and modifying permissions (there’s a little more to it than just creating the directory; subversion basically has to set up a repository database in that location, and that’s what the “svnadmin create” does).

    Sorry for leaving that out — I’m updating the tutorial now. :)

  7. Jeff Hartman May 26th, 2005 2:05 pm

    Excellent Frank. Thanks for this great little tutorial. Looking forward to the next Subversion tutorial about accessing from different machines (using BBEdit) - although I could probably dig into the svn book at red-bean. A nice short how-to is my preference though. :)
    I have needed version control for some time now, especially for a large project I have coming up.

    Cheers.

  8. ratso June 3rd, 2005 2:55 pm

    Excellent! Thanks so much for this.

  9. Dave Frey June 22nd, 2005 3:31 am

    Hi Frank, thanks for paving the way a bit, that helped me out. I mixed your work with some from Bill Dudney (for dedicated svn user:group and xinetd setup) and my own experiences, and posted the result here.

  10. Tony Bianco October 28th, 2005 12:52 pm

    On the server that I am attempting to connect to it says I need authentication. So I got the certificate but I’m not sure how to install the certificate. I think I need to go to my config file but I don’t know how to get to my config file.

    can someone please help me out?

  11. Andrew February 6th, 2006 11:02 pm

    Thanks for writing the tutorial. It was very clear.
    Andrew

  12. bryan April 17th, 2006 4:20 pm

    Wow! Thanks for the concise and very well written tutorial. This really got me up to speed on how these systems work. I am a totall newb. to version control and this really helped.

  13. Gary September 3rd, 2008 5:32 pm

    Great tutorial. I’ve worked w/ SVN at work for a number of years, but finally decided to set up a repo here at home. Your Macpot post included all the necessary information to do so. Thank you, sir, for taking the time to share it with us.

  14. Phil December 15th, 2008 4:33 am

    I echo Gary’s (Sep 3 08) comments, clear tutorial, covers all bases, thank for taking the time to prepare and to share.

Leave a reply