Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Problems using a local Subversion repository in XCode 3.0

I'm trying to get XCode to point to my local SVN, but no luck.

I get the error "Error: 180001 (Couldn't open a repository) Description: Unable to open an ra_local session to URL"

I'd tell myself "learn to setup/reference a SVN repository", but I've been using this SVN install for over a year through Eclipse doing Java development. I've also pulled it up svnX with no issues. Why is XCode balking at my connection info?

My URL is "file:///usr/local/svn". Any ideas?

-Mack

G5, Mac OS X (10.5.7)

Posted on Jul 11, 2009 4:56 PM

Reply
7 replies

Jul 12, 2009 7:21 AM in response to ericmeyers

No chance. "file:///usr/local/svn" is definitely the repository. I tried cutting and pasting it straight out of my Eclipse config, retyping it. I've tried using file://localhost/usr/local/svn instead of /// notation.

I've read a couple 'tutorials' showing local SVNs working with XCode and done searches on the error, but I couldn't find anything relating to this issue.

Jul 12, 2009 10:28 AM in response to ericmeyers

ericmeyers wrote:
Maybe it's the repository format ?


Or maybe the permissions on the repository, and the directories above it, since it's in /usr/local? My repositories are all in a folder in a user's Documents folder.

I just set up Xcode with a local Subversion repository and it worked for me, too. Though I just tested checking out, not checking in, since I did it with a real repository and I didn't want to mess it up too much. Try posting the exact steps you're taking and where you get the error.

You'll definitely need to use three slashes ( file:///usr/local/svn) to get to your repository. If you just use two, you most likely will have a problem, as the first two are for the file URL, and the third one is the actual root directory on the drive, if that makes sense.

charlie

Jul 16, 2009 12:54 PM in response to D Mack

D Mack wrote:
I'm running Subversion 1.55 and XCode 3.12 says that format 5 is fine.


The Subversion that's installed with Leopard is 1.4.4, so maybe it's the newer version that's the problem.

I found a blog post referencing getting Xcode to work with SVN 1.5. See if anything there helps. That post also references postings to the Xcode mailing list archive that might be helpful in gettig Xcode to work with a newer Subversion.

charlie

Problems using a local Subversion repository in XCode 3.0

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