• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Configuring XCode to use remote subversion repository
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Configuring XCode to use remote subversion repository


  • Subject: Re: Configuring XCode to use remote subversion repository
  • From: Lorenzo Thurman <email@hidden>
  • Date: Sat, 29 Apr 2006 22:12:34 -0500

Thanks, I have it working now. I knew it would be simple.

On Apr 29, 2006, at 12:08 a, James Bucanek wrote:

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/>

"My Break-Dancing days are over, but there's always the Funky Chicken"

--The Full Monty



 _______________________________________________
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

References: 
 >Re: Configuring XCode to use remote subversion repository (From: James Bucanek <email@hidden>)

  • Prev by Date: Fwd: refactoring tools and xcode plugins
  • Next by Date: Re: Info.plist preprocessor macro expansion, space between tokens
  • Previous by thread: Re: Configuring XCode to use remote subversion repository
  • Next by thread: Bug in PrefPane default project (window width)
  • Index(es):
    • Date
    • Thread