git-svn: fix segfaults due to initial SVN pool being cleared
Some parts of SVN always seem to use it, even if the SVN::Ra object we're using is no longer used and we've created a new one in its place. It's also true that only one SVN::Ra connection can exist at once... Using SVN::Pool->new_default when the SVN::Ra object is created doesn't seem to help very much, either... Hopefully this fixes all segfault problems users have been experiencing over the past few months. Signed-off-by: Eric Wong <normalperson@yhbt.net>
Eric Wong committed
May 13, 2007 at 01:04 UTC
4c03c3eb4e31c2d1f88ca0c7106c647a246e81ff
1 file changed
-1
git-svn.perl
-1
@@ -2904,7 +2904,6 @@ sub new {
2904
my ($class, $url) = @_;
2905
$url =~ s!/+$!!;
2906
return $RA if ($RA && $RA->{url} eq $url);
2907
- $RA->{pool}->clear if $RA;
2907
2908
SVN::_Core::svn_config_ensure($config_dir, undef);
2909
my ($baton, $callbacks) = SVN::Core::auth_open_helper([