summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f30603f)
raw | patch | inline | side by side (parent: f30603f)
author | Eric Wong <normalperson@yhbt.net> | |
Fri, 23 Feb 2007 09:57:40 +0000 (01:57 -0800) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Fri, 23 Feb 2007 09:59:34 +0000 (01:59 -0800) |
Clearing the pool of the previous SVN::Ra connection we have
seems to to fix mysterious connection dropping errors when
reconnecting to different paths of svn:// repositories hosted by
rubyforge.org.
Note: I'm not sure *why* this fixes things things,
but it does for me.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
seems to to fix mysterious connection dropping errors when
reconnecting to different paths of svn:// repositories hosted by
rubyforge.org.
Note: I'm not sure *why* this fixes things things,
but it does for me.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl | patch | blob | history |
diff --git a/git-svn.perl b/git-svn.perl
index a5c6eb9fec8bcb1f459b7e236e47119ea0a97c16..2bd70a15779c3288d52bcb401bb0c91f46fbbfde 100755 (executable)
--- a/git-svn.perl
+++ b/git-svn.perl
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([