From: Linus Torvalds Date: Tue, 23 May 2006 19:36:37 GMT Subject: Re: [PATCH 2/2] cvsimport: cleanup commit function Message-ID: In-Reply-To: On Tue, 23 May 2006, Linus Torvalds wrote: > > Hmm. Is it just me, or does the current "git cvsimport" have new problems: > > [torvalds@merom git]$ git cvsimport -d ~/CVS gentoo-x86 > > causes > > Committing initial tree 34bd3dcd4bfd79bad35ce3fb08b2e21108195db8 > Server has gone away while fetching BUGS-TODO 1.1, retrying... > Retry failed at /home/torvalds/bin/git-cvsimport line 366, line 9. > > and that's it for the import. > > I don't see what would have caused it in the changes, but it definitely > worked earlier.. Martin, that problem seems to go away when I initialize $res to 0 in _fetchfile. I don't know perl, and maybe local variables are pre-initialized to empty. It's entirely possible that the fact that it now seems to work for me is purely timing-related, since I also ended up using "-P cvsps-output" to avoid having a huge cvsps binary in memory at the same time. Linus "perl illiterate" Torvalds