Re: git-svn and u-boot broken.
- From
Randal L. Schwartz <merlyn@stonehenge.com>
- Date
- Oct 13, 2006, 19:39 UTC
- Message-ID
- <86slhsgg3f.fsf@blue.stonehenge.com>
- In-Reply-To
- <00ad01c6eefc$84298280$1267a8c0@Jocke>
>>>>> "Joakim" == Joakim Tjernlund <joakim.tjernlund@transmode.se> 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.
-- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!