[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: --root not recognized

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2007-11-22 10:06:42 CET

On Wednesday 21 November 2007, Rolf Schumacher wrote:
> > I'm not sure if that surprises you, but just in case let me repeat:
> > svn+ssh means that the svn client creates a SSH connection to the
> > machine, starts an svnserve instance there and tunnels the IO through the
> > SSH connection. That means that no system-wide service needs to be
> > started or registered with svn+ssh!
>
> Ok, the term "starts an svnserve instance" surely suprises me:
> I have to become more familiar with ssh tunneling.

Maybe I can explain that...

Firstly, there is a set of libraries that are used to access the repository on
a file-base. These libs are used e.g. by the 'svn' and command when using
file:// URLs. They are also used by 'svnserve' to access repositories.

Secondly, 'svnserve' is an adapter between those libs. It communicates either
via stdin/stdout or via a TCP socket and translates the commands sent (the
svn-protocol) there into calls to the libraries to access the repository.

Now, SSH is (almost) only a secure and encrypted way to redirect IO from a
programm (typically a shell on the remote system, started by the SSH server
running there) to another program (typically the shell on the local system).
However, in the case of svn+ssh:// the local part is the 'svn' program and on
the remote machine it is the 'svnserve' process.

The other variant is with svn:// URLs where 'svn' directly creates a TCP
connection to the 'svnserve' process already running on the remote machine
(or the one started by [x]inetd). This one uses the same commands to talk to
the 'svnserve' process, but it doesn't automatically start one.

Uli

-- 
ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/
Sator Laser GmbH
Geschäftsführer: Michael Wöhrmann, Amtsgericht Hamburg HR B62 932
**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 22 10:18:11 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.