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

2013-03-28 Thread Daniel Shahaf
Bo Chen wrote on Thu, Mar 28, 2013 at 13:00:15 -0400: > I am now working on understanding the flow when a user is doing a commit, > what exactly happens in the SVN client, and what exactly happens in the SVN > server, in the code level. I suggest that you run a commit on ra_local (file:///) and s

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

2013-03-28 Thread Bo Chen
Thanks for the suggestion. I need to modify the SVN source code for a project, so I need to look through and understand the source code. I am now working on understanding the flow when a user is doing a commit, what exactly happens in the SVN client, and what exactly happens in the SVN server, i

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

2013-03-28 Thread Ben Reser
On Thu, Mar 28, 2013 at 7:53 AM, Bo Chen wrote: > 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

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

2013-03-28 Thread Stefan Sperling
On Thu, Mar 28, 2013 at 11:11:15AM -0400, Bo Chen wrote: > 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 inform

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

2013-03-28 Thread Daniel Shahaf
The RA layer encapsulates the choice of URL scheme (file://, svn://, and http://) so the client and server logics don't need to worry about it. svnserve opens its own sockets, but with libsvn_ra_serf the syscalls happen in a dependency library (serf). Bo Chen wrote on Thu, Mar 28, 2013 at 11:11:1

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

2013-03-28 Thread Bo Chen
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 c

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

2013-03-28 Thread Daniel Shahaf
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 (