aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-05-13 01:04:44 -0700
committerJunio C Hamano <junkio@cox.net>2007-05-13 12:10:42 -0700
commit4c03c3eb4e31c2d1f88ca0c7106c647a246e81ff (patch)
tree8702be7f0041e44502de9e3740877efccef7b3c0
parent0dc03d6a30213e9aa0eb88886cee24b993a24a29 (diff)
downloadgit-4c03c3eb4e31c2d1f88ca0c7106c647a246e81ff.tar.gz
git-4c03c3eb4e31c2d1f88ca0c7106c647a246e81ff.tar.xz
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>
-rwxr-xr-xgit-svn.perl1
1 files changed, 0 insertions, 1 deletions
diff --git a/git-svn.perl b/git-svn.perl
index 721a46817..ae14bab3a 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -2904,7 +2904,6 @@ sub new {
my ($class, $url) = @_;
$url =~ s!/+$!!;
return $RA if ($RA && $RA->{url} eq $url);
- $RA->{pool}->clear if $RA;
SVN::_Core::svn_config_ensure($config_dir, undef);
my ($baton, $callbacks) = SVN::Core::auth_open_helper([