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 <cmpil...@collab.net> CollabNet <> www.collab.net <> Distributed Development On Demand
signature.asc
Description: OpenPGP digital signature