summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5a4cf33)
raw | patch | inline | side by side (parent: 5a4cf33)
author | Eric Wong <normalperson@yhbt.net> | |
Mon, 4 Dec 2006 08:51:16 +0000 (00:51 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 6 Dec 2006 19:11:58 +0000 (11:11 -0800) |
Long-running fetches run inside children to avoid memory leaks.
When we refork, the connection in the parent can be idle for a
long time; attempting to reuse it in the next child can result
in timeouts.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
When we refork, the connection in the parent can be idle for a
long time; attempting to reuse it in the next child can result
in timeouts.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-svn.perl | patch | blob | history |
diff --git a/git-svn.perl b/git-svn.perl
index d0bd0bdeb8462f7ad4550b5fe406f4e0a1a0ee1c..747daf0181babeae63378a6ec49a8bc4b7f70a0f 100755 (executable)
--- a/git-svn.perl
+++ b/git-svn.perl
$min = $max + 1;
$max += $inc;
$max = $head if ($max > $head);
+ $SVN = libsvn_connect($SVN_URL);
}
restore_index($index);
return { revision => $last_rev, commit => $last_commit };