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

AW: the source code in the SVN client for transferring the delta

From: Markus Schaber <m.schaber_at_codesys.com>
Date: Thu, 28 Mar 2013 15:22:47 +0000

Hi, Bo,

Von: Bo Chen [mailto:bo.irvine.chen_at_gmail.com]
> On Thu, Mar 28, 2013 at 10:56 AM, Daniel Shahaf <danielsh_at_elego.de> wrote:
> > Bo Chen wrote on Thu, Mar 28, 2013 at 10:53:24 -0400:
> > > I am struggling to locate the source code by which the SVN client can
> > > transfer the delta to the server upon a commit operation. Can anyone give
> > > me some hints for it, e.g., which source file file is responsible to
> > > transferring the delta (after the delta has been computed) to the server ?
> > >
> > That depends on the RA layer. Look in libsvn_ra_* for the
> > "apply_textdelta" function in the commit editor.
> > Is that the answer you were looking for?
> I am just starting to investigate into the source code of SVN.
>
> Can you please give me more introductions for it. In my previous experiences for network communication, I can simply establish a network connection, and send the information to the server via the socket, and that is it. Why SVN is so complicated for it, e.g., depends on the RA layer´╝č

The main reason is that SVN supports several different ways of accessing the repository:
- The "http" and "https" protocols, handled alternatively via "serf" or "neon" libraries.
- The custom "svn" protocol.
- Tunneling of the custom svn protocol through ssh or other external communication tools.
- Direct, local repository access with "file" URLs (there is no "server" involved in that case).

The RA (Repository Access) layer abstracts those.

Best regards

Markus Schaber

CODESYS® a trademark of 3S-Smart Software Solutions GmbH

Inspiring Automation Solutions
________________________________________
3S-Smart Software Solutions GmbH
Dipl.-Inf. Markus Schaber | Product Development Core Technology
Memminger Str. 151 | 87439 Kempten | Germany
Tel. +49-831-54031-979 | Fax +49-831-54031-50

E-Mail: m.schaber_at_codesys.com | Web: codesys.com | CODESYS store: store.codesys.com
CODESYS forum: forum.codesys.com

Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915
Received on 2013-03-28 16:23:23 CET

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