Bo Chen wrote on Mon, Mar 25, 2013 at 16:43:52 -0400:
> On Mon, Mar 25, 2013 at 4:29 PM, Ben Reser <ben_at_reser.org> wrote:
>
> > On Mon, Mar 25, 2013 at 1:08 PM, Bo Chen <bo.irvine.chen_at_gmail.com> wrote:
> > > When receiving a commit request, the svnserve will eventually use the
> > > function svn_ra_svn_handle_commands2 in
> > subversion/libsvn_ra_svn/marshal.c
> > > to further handle it. In this function, can anyone give me some hints on
> > > where the following code should point to (i.e., svnserve will use which
> > > function to handle a commit request)?
> > >
> > > (*command->handler)(conn, iterpool, params, baton); //line 1034 of
> > > marshal.c
> >
> > commit() which is the function pointed to by the "commit" entry for
> > main_commands.
> >
>
> Thanks. Ben. Can you tell me in which file I can locate this commit()
> function?
In the same file as main_commands, which is:
% grep '^main_commands' tags
main_commands subversion/svnserve/serve.c /^static const svn_ra_svn_cmd_entry_t main_commands[] = {$/;" v file:
I imagine gdb could have told you this, too.
Received on 2013-03-25 23:28:52 CET