Adam Borowski wrote:

> New git says instead:
> error: git-svn died of signal 13

Ah, okay.  That’s a little harder.  Bug#526989 seems to be about the
same thing.

Would you be willing to try running a modified git-svn to see when and
how it dies?  This would mean copying git-svn from /usr/lib/git-core
to some temporary directory, applying the patch below, and sending the
end of the output from each of the following commands:

$ /path/to/modified/git-svn <args without -q>
$ PERLDB_OPTS="NonStop frame=2" perl -d /path/to/modified/git-svn <args>

The idea is to ignore SIGPIPE so an actual write will produce an
error.  

If you know of a publically accessible svn repo that triggers the
error, that would be even better. :-)

-- %< --
diff --git v1.6.5.3-1/git-svn 2/git-svn
index e8bb4c5..7151a92 100755
--- v1.6.5.3-1/git-svn
+++ 2/git-svn
@@ -10,6 +10,8 @@ use vars qw/  $AUTHOR $VERSION
 $AUTHOR = 'Eric Wong <normalper...@yhbt.net>';
 $VERSION = '1.6.5.3';
 
+$SIG{PIPE} = 'IGNORE';
+
 # From which subdir have we been invoked?
 my $cmd_dir_prefix = eval {
        command_oneline([qw/rev-parse --show-prefix/], STDERR => 0)
@@ -3224,8 +3226,8 @@ sub rev_map_set {
                                    "$db_lock => $db ($!)\n";
        delete $LOCKFILES{$db_lock};
        if ($update_ref) {
-               $SIG{INT} = $SIG{HUP} = $SIG{TERM} = $SIG{ALRM} = $SIG{PIPE} =
-                           $SIG{USR1} = $SIG{USR2} = 'DEFAULT';
+#              $SIG{INT} = $SIG{HUP} = $SIG{TERM} = $SIG{ALRM} = $SIG{PIPE} =
+#                          $SIG{USR1} = $SIG{USR2} = 'DEFAULT';
                kill $sig, $$ if defined $sig;
        }
 }



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to