Re: Configuring XCode to use remote subversion repository
Re: Configuring XCode to use remote subversion repository
- Subject: Re: Configuring XCode to use remote subversion repository
- From: James Bucanek <email@hidden>
- Date: Fri, 28 Apr 2006 22:08:34 -0700
Lorenzo Thurman wrote on Friday, April 28, 2006:
>Can anyone point me to some instructions on how to do this? I already
>have the repo setup, but I don't know how to set XCode to talk to it.
>I've setup remote CVS within XCode before using ssh, but when
>selecting Subversion as the SCM of choice there seems to be no way of
>telling it to look elsewhere for the repo as with CVS. I figure its
>got to be really trivial and I just need a clue.
To do this via ssh, which is probably the easiest, you need to set up an ssh account for yourself on the server that is pre-authenticated and doesn't require a password to connect. You can then access the repository via an URL:
svn list svn+ssh://server.local/Complete/path/to/repository
(This isn't an absolute requirement, but if your ssh login does require a password you'll be entering it every 3 seconds -- or so it would seem -- and I find it extremely disruptive and tedious).
You never configure the location of the respiratory in Xcode. Just check out the project using the URL to the remote repository. The hidden data that is created when you check out the working copy also maintains the URL back to the repository it was checked out from. Your project simply "knows" where it came from. You never have to tell it.
At the risk of irking those who think I'm incessantly plugging my book, this is another subject that wouldn't fit and is being offered as a free download. Go to <http://www.beginningxcode.com/> and follow the link to "View notes, downloads, errata ..." and download the bonus sections disk image. In it you will find a section on setting up a remote repository using Subversion.
This bonus section has two deficiencies: First, it refers to previous instructions in the source control chapter of the book (which you probably don't have). If you need those steps, let me know and I'll fill them in for you. Secondly, the instructions for building your own svnserve program are now obsolete and unnecessary. The precompiled version of Subversion currently available at <http://metissian.com/projects/macosx/subversion/> includes the svnserve tool. If you've installed that package, you have everything you need and can ignore the instructions on downloading and building your own.
James Bucanek
____________________________________________________________________
Author of Beginning Xcode ISBN: 047175479X
<http://www.beginningxcode.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden