How to set up SVN user account?

Hi folks,

I'm trying to create an SVN repository location in Xcode. That's my ultimate goal.

However, I think I have to first define an SVN user. Is this correct?

I have SVN version 1.6.2 installed on my MacBook.

I've created an SVN repository in /usr/local/svn from the command line using my own user name.

In the Xcode Preferences SVN Pane for setting up access to an SVN server, I'm currently getting this error: "Access denied". I think it's related to user permissions to access the repository.

I know remote access to SVN servers requires that each user who wishes to access the repository be granted permission in some SVN config file, right?

Do I need to do this for local access too? My SVN access will be local (not networked). If so, how to do this?

Since I'm posting this, I'll go ahead and ask the other questions regarding how to fill in the fields on the Xcode Preferences SVN Pane for configuring the SVN access.

1. What URL do I specify for local access to a repo at /usr/local/svn ?

2. What to enter for the "Host"? "localhost" is not recognized.

3. What to enter for "Port:" ?


Many thanks,....

MacBook Pro 17", Mac OS X (10.5.6)

Posted on Nov 5, 2009 7:39 PM

Reply
20 replies

Jan 5, 2010 1:39 AM in response to rhimbo

Which XCode version do you have? (Obviously you have 3. whatever) See: http://discussions.apple.com/message.jspa?messageID=9141013#9141013 I have Xcode 3.1.2 and svn version 1.4.4. Guessing time. Baffling. Maybe create a new repository and trash old one?(delete properly). Your path seems ok. Try that file:///address mentioned in that link.

Message was edited by: doug pennington

Message was edited by: doug pennington

Jan 6, 2010 1:22 AM in response to rhimbo

Last shot. Turn on SysPref/Remote login. Then cd Desktop
Run this: svn co svn+ssh://vartan@mandolin.local/Library/Subversion/Repository/Project1


Try it without .local also. You will be asked for your password possibly twice, type it in each time and hit return key each time. You wont see anything as you type password. Lets see if Project1 is checked out to your Desktop.

Message was edited by: doug pennington

Jan 7, 2010 10:38 PM in response to doug pennington

Hello everyone. OK, I finally got this working. The problem was that I was running SVN 1.6.2, which is incompatible with XCode version 3.1.4.

I changed back to SVN 1.4.4. I deleted the SVN repository I had created with SVN 1.6.2 and rebuilt it with SVN 1.4.4. Then I was able to successfully create an SVN connection and import my project source code.

I had downloaded and installed SVN 1.6.2. I guess this was my big mistake. I'm learning that it's probably not a good idea to install newer versions of software. I guess Apple carefully integrates components of the Mac OS platform to interoperate.

Many, many thanks, Doug, for your patience and help on this.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to set up SVN user account?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.