git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cvs importer woes
@ 2006-06-27 10:05 Andreas Ericsson
  2006-06-27 10:35 ` [TRYTHIS] cvsimport: fix initial import Johannes Schindelin
  2006-06-27 10:42 ` cvs importer woes Martin Langhoff
  0 siblings, 2 replies; 7+ messages in thread
From: Andreas Ericsson @ 2006-06-27 10:05 UTC (permalink / raw)
  To: Git Mailing List

Sadly, the cvsimport command no longer works to create new repositories 
from scratch. I'm not nearly perl literate enough to fix it, but the 
problem seems to be firstly 061303f0b50a648db8e0af23791fc56181f6bf93. In 
particular "Also, make sure that the initial git-read-tree is 
performed." which fails if there is not a complete git repo already 
created with at least one tree committed.

Some sample output:

$ git cvsimport -k -u -d:local:/home/CVS packages
fatal: Not a git repository: '/data/home/exon/git/packages/.git'
read-tree failed: 32768

Removing the unconditional read-tree call, I get this (still in an empty 
directory which isn't a repo):

$ git cvsimport -k -u -d:local:/home/CVS packages
fatal: Not a git repository: '/data/home/exon/git/packages/.git'
read-tree failed: 32768

$ git init-db
defaulting to local storage area

$ git cvsimport -k -u -d:local:/home/CVS packages
fatal: Not a valid object name origin
read-tree failed: 32768

Bisect running now. v1.3.1 is good and imports the stuff properly to an 
empty directory.

Oh, now it's done (4 minutes for 620 revisions with automated testing 
between good/bad. *LOVE* bisect).

The culprit is definitely 061303f0b50a648db8e0af23791fc56181f6bf93.

Any perl-literate takers? Otherwise, just reverting the patch makes 
things work (for me) again.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-06-27 11:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-27 10:05 cvs importer woes Andreas Ericsson
2006-06-27 10:35 ` [TRYTHIS] cvsimport: fix initial import Johannes Schindelin
2006-06-27 10:41   ` Andreas Ericsson
2006-06-27 10:52   ` Martin Langhoff
2006-06-27 11:01     ` Johannes Schindelin
2006-06-27 10:42 ` cvs importer woes Martin Langhoff
2006-06-27 10:49   ` Andreas Ericsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).