Subversion and Xcode

Discussion in 'Mac Programming' started by Cromulent, Apr 29, 2008.

  1. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #1
    I've setup an SVN server using these two guides:

    http://www.sonzea.com/articles/subversion-trac.html
    http://developer.apple.com/tools/subversionxcode.html

    and it seems to work. I can browse the repository from WebSVN fine and I can change the repository from the command line. I can also see the repository in Xcode 3 but I get a permission denied error when I try to import a project from Xcode which is odd as the SVN repo is in my home directory and was created with my user name (not using sudo). Xcode gives me the green light saying I am authorised in the repo but won't let me do any modifying. What (most likely simple) step have I missed out?

    Edit : Fixed it by using the file interface rather than an https interface with the SVN server. Not the clearest of methods though, god knows how to connect to remote servers.
     
  2. Cromulent thread starter macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #2
    Okay well everything works fine on the local machine but as soon as I try and access the machine (using the svn:// protocol) from another computer on the network I get access denied. My firewall is off for the time being but I can't find any documents to describe SVNs external network controls and what controls which machines can access the repositories. Does anyone know anything about this? I have a feeling it might be something to do with OS X rather Subversion but I have done very little networking style stuff with OS X to date and feel I am more than likely missing a simple config file somewhere.
     
  3. Krevnik macrumors 68030

    Krevnik

    Joined:
    Sep 8, 2003
    #3
    svn:// is a protocol you probably don't want to use. It uses svnserve, and you have setup an HTTP server.

    You want to use the http or https protocol when setting up the repository in XCode (like you would when using SVN from the command-line).
     
  4. Cromulent thread starter macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #4
    Ah bugger *slaps forehead*. Thanks for that, I knew I was doing something stupid :).
     

Share This Page