From: Joakim Tjernlund Date: Fri, 13 Oct 2006 19:43:21 GMT Subject: RE: git-svn and u-boot broken. Message-ID: <00ae01c6eeff$d6c454e0$1267a8c0@Jocke> In-Reply-To: <86slhsgg3f.fsf@blue.stonehenge.com> > > >>>>> "Joakim" == Joakim Tjernlund > writes: > > Joakim> First, I had to change this (from memory) in git-svn: > Joakim> my $got = SVN::TxDelta::send_stream($fh, @$atd, > $self->{pool}); > Joakim> to > Joakim> my $got; > Joakim> if ( $got ) { > Joakim> $got = SVN::TxDelta::send_stream($fh, @$atd, > $self->{pool}); > Joakim> } else { > Joakim> $got = $exp > Joakim> } > Joakim> I am no perl programmer so please change as you se fit. > > That doesn't make any sense. You'll never run the if-true > branch there. > The value of $got immediately following "my $got;" is always undef. Typo, should be 'if( $atd )', sorry