Hi all,
I have a svnserve daemon running on a LAN server (dual G4 Powermac)
at address 192.168.1.101.
I am trying to connect to the server and checkout a project using an
Intel MacBook client connected to the same network.
Running svn --version gives the following on both machines (server
and laptop client):
The following repository access (RA) modules are available:
* ra_dav : Module for accessing a repository via WebDAV (DeltaV)
protocol.
- handles 'http' scheme
* ra_svn : Module for accessing a repository using the svn network
protocol.
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
I am not running Apache 2.x so I believe I cannot use the http://
method to connect to a subversion server. Let me know if I am
mistaken on this. So this leaves me with file:///, svn://, and svn
+ssh:// for connection methods.
I would like to be able to use any of the above methods (depending on
where I am located at the time - remote or local). I am only able to
get the file:/// method to work however. I appreciate the help
debugging my connection issues. Here are my attempts to connect
using the three methods from above:
The project repository on the server is located at /Library/WebServer/
Documents/pjb2
1) Try using svn checkout svn://192.168.1.101/Library/WebServer/
Documents/pjb2 /projects
This runs for two minutes or more before reporting back with svn:
Can't connect to host '192.168.1.101': Operation timed out
2) Try using svn checkout svn+ssh://192.168.1.101/Library/WebServer/
Documents/pjb2 /projects
It immediately prompts me for my password: Password:********
I then get the error message
bash: line 1: svnserve: command not found
svn: Connection closed unexpectedly
I can, however, SSH into the machine just fine using ssh -l jkoerber
192.168.1.101, although I am not sure how I am supposed to pass my
userid (admin user on server) in the svn+ssh command? I even tried:
svn --username jkoerber checkout svn+ssh://192.168.1.101/Library/
WebServer/Documents/pjb2 /projects
but got the same errors.
>>
>> That would be
>>
>> $ svn --username jkoerber checkout
>> svn+ssh://jkoerber@192.168.1.101/Library/WebServer/Documents/pjb2
>> /projects
>>
>> HTH,
>>
>> Erik.
> I tried the command exactly as listed above and am still getting
> the same weird error: Here is my exact console listing:
>
> ~jkoerber$ svn --username jkoerber checkout svn+ssh://
> jkoerber@192.168.1.101/Library/WebServer/Documents/pjb2 /projects
> Password: ********
> bash: line 1: svnserve: command not found
> svn: Connection closed unexpectedly
> ~jkoerber$
>
> If I go back over to my server and do a list command, I can verify
> the existance of my repository in the same path:
> PM-G4: ~jkoerber$ svn list svn://192.168.1.101/Library/WebServer/
> Documents/pjb2
> proj_trunk/
> PM-G4:~jkoerber$
>
> So, without being able to connect to the svnserve daemon with my
> client machine, I am stuck in the mud. Any other suggestions?
>
> Jon
3) Try using svn checkout svn checkout file:///Volumes/DEV/Library/
WebServer/Documents/pjb2 /projects
This works fine and starts, slowly, to checkout all of the files in
the project to my local working copy. I am not sure if this is a
good way to work with Subversion, however, since I basically have to
connect to the server first in the Finder (filesystem) and then do a
full path to the server repository in the file:/// pathname.
I am keen to debug the svn:// and svn+ssh:// methods as I think these
will be the most appropriate to use.
Thanks for the help.
Received on Mon Dec 18 19:45:57 2006