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 <b...@reser.org> wrote:

> On Thu, Mar 28, 2013 at 7:53 AM, Bo Chen <bo.irvine.c...@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.
>

Reply via email to