On Sat, Dec 13, 2008 at 8:23 AM, Hyrum K. Wright <
hyrum_wright_at_mail.utexas.edu> wrote:
> void pointer wrote:
> > Hi,
> >
> > I'm currently trying to learn the Subversion 1.5.4 library. I'm working
> on a
> > small prototype that is supposed to perform a basic checkout. However,
> I'm
> > unable to get the svn_client_checkout3() function to succeed. It's
> crashing
> > somewhere in the Subversion DLL, so I don't know exactly what the problem
> > could be. Just guessing, but I think this might be an issue with no
> > callbacks being registered. For example, there's callbacks to prompt when
> a
> > username or password is needed. There's also callbacks to handle
> > informational data (A sort of progress log) I'm sure. I'm not sure how to
> go
> > about setting up the callbacks I need to perform a checkout, much less
> which
> > callbacks are required in the first place. Can someone briefly run me
> > through what I need to do to complete my prototype? I've done as much as
> I
> > can up to this point independently. Below is my prototype code:
> >
> >
> > <snip>
> >
> > Thanks in advance for any assistance.
>
> Have you tried looking at the Subversion sources to see what they do? I
> this
> case, I think subversion/svn/commit-cmd.c would be helpful.
I haven't, but I'll look through it. I was looking for a more bare,
simplified example, though.
I'm not sure I quite understand the 'baton' concept. Is that basically "user
data"? I read through all the documentation I could find on the subject but
it doesn't quite explain it very well for me. In all of the cases I've seen
it used, it looks like just user data. Usually an arbitrary object is passed
into this parameter. Is this correct?
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=983801
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-13 18:13:18 CET