Re: XCode and subversion
Re: XCode and subversion
- Subject: Re: XCode and subversion
- From: Nicholas Crosbie <email@hidden>
- Date: Tue, 20 Dec 2005 18:05:18 +1100 (EST)
I **begin** to understand how this is working.
Subversion is
now installed on both the client and server machines
(obvious
in hind sight). I **think** the next step is to
checkout a copy of
the repository from the server (where it exits) to the
client.
The repository permissions are set to read/write for
(server
user account and "others") and I put the path to
svnserve into the
/etc/profile file on the server machine.
When I issue the following svn checkout command on the
client machine
I get an error:
svn checkout svn+ssh://<host computer>/svnrep/Echo
~/src/Echo
Password:
bash: line 1: svnserve: command not found
svn: Connection closed unexpectedly
(note, I assume I don't need to first "ssh into" the
server prior to issuing the above
svn checkout command?)
Thanks for any suggestions?
Nick
--- Shawn Erickson <email@hidden> wrote:
>
>
On Dec 19, 2005, at 4:14 PM, Nicholas Crosbie wrote:
>
>
> If only it was! I think the problem is how to
>
> correctly construct the access URL. The
>
> XCode manual suggests:
>
>
>
>
>
svn+ssh://<computer_name>/<repository_root>/<project_path>
>
>
>
> yet, XCode itself asks for the "subversion tool
>
path",
>
> which is "/usr/local/bin/svn"
>
> on the server machine. I **think** the
>
> <repository_root> is the directory containing
>
> the "db" folder.
>
>
Ok I think I understand your confusion. What xcode
>
is asking for is
>
the path to the svn tool on your local system, not
>
on the server. It
>
needs access to a local version of the svn tool for
>
its use.
>
>
Xcode doesn't ask you for the
>
svn+ssh://<computer_name>/
>
<repository_root>/<project_path> directly. It gets
>
that from
>
information from the svn files you pull from your
>
subversion repository.
>
>
So you need to use svn yourself with the correct
>
svn+ssh://
>
<computer_name>/<repository_root>/<project_path> URI
>
to get the
>
initial pull of things onto your system. Then Xcode
>
will detect that
>
the source tree was pulled from SVN. At this time it
>
may ask you for
>
a ssh password if your ssh key is password
>
protected.
>
>
Anyway if you haven't already review...
>
>
SCM in general...
>
<
http://developer.apple.com/documentation/DeveloperTools/Conceptual/
>
>
XcodeUserGuide20/Contents/Resources/en.lproj/SCMOverview/
>
>
chapter_25_section_1.html#//apple_ref/doc/uid/TP40001440-CH215>
>
>
SVN appendix...
>
<
http://developer.apple.com/documentation/DeveloperTools/Conceptual/
>
>
XcodeUserGuide20/Contents/Resources/en.lproj/UsingSubversion/
>
>
chapter_50_section_1.html#//apple_ref/doc/uid/TP40001440-CH271>
>
>
SSH appendix...
>
<
http://developer.apple.com/documentation/DeveloperTools/Conceptual/
>
>
XcodeUserGuide20/Contents/Resources/en.lproj/SSHEnvironment/
>
>
chapter_51_section_1.html#//apple_ref/doc/uid/TP40001440-CH274>
>
>
-Shawn
>
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