public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik•org>
To: Sean <seanlkml@sympatico•ca>
Cc: Git Mailing List <git@vger•kernel.org>,
	Matthias Urlichs <smurf@smurf•noris.de>
Subject: Re: Trouble importing from public CVS repo
Date: Fri, 04 Jan 2008 19:40:26 -0500	[thread overview]
Message-ID: <477ED1FA.1070102@garzik.org> (raw)
In-Reply-To: <BAYC1-PASMTP15EA2E9A1145CD66AF7C4DAE4C0@CEZ.ICE>

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

      reply	other threads:[~2008-01-05  0:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-04 21:41 Trouble importing from public CVS repo Jeff Garzik
2008-01-04 23:17 ` Sean
2008-01-05  0:40   ` Jeff Garzik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=477ED1FA.1070102@garzik.org \
    --to=jeff@garzik$(echo .)org \
    --cc=git@vger$(echo .)kernel.org \
    --cc=seanlkml@sympatico$(echo .)ca \
    --cc=smurf@smurf$(echo .)noris.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox