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

RE: Things I learned making cvs2svn work today

From: Sander Striker <striker_at_apache.org>
Date: 2002-02-03 02:00:02 CET

[...]
> I'll post the additions to the bindings necessary to use streams with
> python file objects (which you need to construct proper deltas from
> python), and the cvs2svn.py diffs, in a few minutes.
>
> For kicks, i also made the svn_string* conversions requiring a
> stringpool work .
> This enables one to build the svn_client and svn_wc bindings.
> For svn_stringbuf_t (including arrays of svn_stringbuf's) input, we
> require a (string, pool) tuple be passed in, and use that pool.
> For svn_string_t member storage (where it wants to svn_string_dup a
> string), I just have it use an apr debugging function called apr_find_pool

Buzzz, no can do. That function is not available without --enable-pool-debug.
And requiring that seems a bit of a tough requirement.

> to get the pool for the svn_string_t object, until we think of a better
> way to do this (since it's not python input it's using, but an already
> constructed svn_string_t, we can't require a tuple)
> It's either that, or some kind of global python stringpool just to dup the
> strings, which seems a bit silly.
>
> --Dan

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:03 2006

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.