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

Re: svn_client_create_context() question

From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: Sat, 13 Dec 2008 14:11:14 -0600

Actually, if the HACKING guide doesn't already mention it, svn library
consumers should be reading examples/minimal-client.c. It's exactly what
mr. pointer needs to write a client.

On Dec 12, 2008 5:18 PM, "Hyrum K. Wright" <hyrum_wright_at_mail.utexas.edu>
wrote:

void pointer wrote: > On Fri, Dec 12, 2008 at 4:19 PM, Branko Čibej <
brane_at_xbc.nu> wrote: > >> This...
This list is for development *of* Subversion, not development *with*
Subversion.
 Many of the developers also subscribe to the users@ list, and would be
equally
able to answer the question there. That being said...

> In any case, how does this code look: > > > apr_pool_initialize(); >
apr_pool_t* pool; ...
Yes, you need to initialize your pools when using them with Subversion. The
book has a section on "embedding Subversion":
http://svnbook.red-bean.com/en/1.5/svn.developer.usingapi.html

And HACKING talks about pool usage conventions inside Subversion, but which
may
also be useful in this context:
http://subversion.tigris.org/hacking.html#apr-pools

-Hyrum

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=983578

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=983860
Received on 2008-12-13 21:11:34 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.