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

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

From: Bo Chen <bo.irvine.chen_at_gmail.com>
Date: Thu, 28 Mar 2013 13:00:15 -0400

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, in the code level.

Bo

On Thu, Mar 28, 2013 at 11:39 AM, Ben Reser <ben_at_reser.org> wrote:

> On Thu, Mar 28, 2013 at 7:53 AM, Bo Chen <bo.irvine.chen_at_gmail.com> 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 the delta has been computed) to the server
> ?
>
> 1) You might find using gdb a lot easier than trying to follow the
> source. Just build SVN with --enable-maintainer-mode and then do `gdb
> -args svn commit -mm`. Set a breakpoint on wherever you want to start
> following and off you go.
>
> 2) Maybe it would be better if you told us what you're trying to
> figure out than just asking us where the code is? We might be able to
> just answer it.
>
Received on 2013-03-28 18:00:49 CET

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