Johan Sörensen
4/22/2005 4:05:00 PM
Hi, anyone else had a chance to play around with the subversion
swig-rb bindings yet?
I'm having some issues wrapping my head around the hows and whys
regarding usage of pools and I think thats the reason why I'm
experiencing some segfaults when I'm playing around with it.
There's no docs on the ruby bindings (yet?), even the python ones
seems to be under-documented and google didn't really clarify the
whole svn pool thing to me.
Do I need to wrap everything I do towards the repos in a new pool, eg like this?
Svn::Core::Pool.new do |pool|
# do stuff, like opening it:
@repos = Svn::Repos.open(repos_path, pool)
end
Or is it only needed for the initial connection?
Perhaps I'm playing around with this too soon, but here's to hoping
someone is willing to spread some light in my darkness.
Cheers,
Johan