XCode and subversion
XCode and subversion
- Subject: XCode and subversion
- From: Nicholas Crosbie <email@hidden>
- Date: Mon, 19 Dec 2005 18:52:05 +1100 (EST)
I'm trying to get XCode 2.2 to talk to a subversion
repository via a client.
I am not a server administrator, so I'll list all that
I've done/assumed, even if
painfully obvious.
1. I opted for svnserve (cf. apache), and assumed that
only the
server computer requires subversion/svnserve to be
installed (i.e. the client
only needs to "ssh into" the server)
2. followed the XCode 2.2 documentation for
installing/accessing
subversion, creating a subversion users group,
changing permissions etc.
Note that I installed a fsfs repository, i.e.
svnadmin create --fs-type fsfs /svnrep
3. I configured the SSH environment as per the XCode
manual; all goes
well until I get to step five of "Configuring Your SSH
Environment".
I "ssh into" the server with
%ssh <ServerUserAccount>@<ServerIPAddress>
This prompts for a password. At this point I am
**unable** to login with
my client passphrase (which I just set up - see
"Configuring Your SSH Environment"),
but **can** login with my password for
ServerUserAccount.
4. imported and checked out a project into the
repository as per the XCode manual.
5. tried update and compare revisions etc. from within
XCode from the client computer.
In the XCode general project settings, for "subversion
tool path" I put:
svn+ssh://<ServerUserAccount>@<ServerIPAddress>/usr/local/bin/svn
**this does not work**
If I use "/usr/local/bin/svn" for "subversion
tool path" when
accessing the repository from within XCode - but
directly on the server machine
(i.e. not via a client) - **it does work**.
Note that I've also tried adding the equivalent of the
following to the authorized_keys file.
"command="/usr/local/bin/svnserve -t --tunnel-user
denis -r /home/svn/
repositories" ssh
-dss <here follows the key>
Nicholas Crosbie
Send instant messages to your online friends
http://au.messenger.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden