From: Jeff Garzik Date: Sat, 05 Jan 2008 00:40:26 GMT Subject: Re: Trouble importing from public CVS repo Message-ID: <477ED1FA.1070102@garzik.org> In-Reply-To: Sean wrote: > diff --git a/git-cvsimport.perl b/git-cvsimport.perl > index 6d8ff93..357665d 100755 > --- a/git-cvsimport.perl > +++ b/git-cvsimport.perl > @@ -421,7 +421,7 @@ sub _line { > $res += $self->_fetchfile($fh, $cnt); > } else { > chomp $line; > - if ($line eq "ok") { > + if ($line eq "ok" or $line =~ /^error/i) { > # print STDERR "S: ok (".length($res).")\n"; > return $res; > } elsif ($line =~ s/^E //) { Kick ass, this local hack worked quite well. Thanks :) Jeff