Merge branch 'tb/connect-ipv6-parse-fix' into maint
[gitweb.git] / perl / Git / SVN / Ra.pm
index 622535e21760f9fd5c6b63f97d41b48be9c04db6..32e2f19ea41b2dfed735cf1fa5e1fa49f3fed915 100644 (file)
@@ -391,6 +391,9 @@ sub longest_common_path {
 sub gs_fetch_loop_common {
        my ($self, $base, $head, $gsv, $globs) = @_;
        return if ($base > $head);
+       # Make sure the cat_blob open2 FileHandle is created before calling
+       # SVN::Pool::new_default so that it does not incorrectly end up in the pool.
+       $::_repository->_open_cat_blob_if_needed;
        my $gpool = SVN::Pool->new_default;
        my $ra_url = $self->url;
        my $reload_ra = sub {