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

Re: svn update select(2)

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Mon, 22 Nov 2010 09:39:32 -0500

On 11/21/2010 08:17 PM, Larry McVoy wrote:
> We are trying to avoid parsing the dump format unless we have to. Just
> want to keep it simple.

Larry, Subversion provides C API support for parsing a dumpstream and
calling a user-supplied collection of callback functions with the harvested
data. "Simple" might still be out of reach with this approach once you deal
with learning a new API and grabbing all the depencencies and messing with
APR pools and .... But if you do find yourself interested, dig around in
svn_repos.h for this:

svn_error_t *
svn_repos_parse_dumpstream2(svn_stream_t *stream,
                            const svn_repos_parse_fns2_t *parse_fns,
                            void *parse_baton,
                            svn_cancel_func_t cancel_func,
                            void *cancel_baton,
                            apr_pool_t *pool);

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2010-11-22 15:40:14 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.