git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cvsimport: trying to convert freebsd cvs to git
@ 2007-12-22 17:18 Miklos Vajna
  2007-12-23  1:47 ` Anand Kumria
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Miklos Vajna @ 2007-12-22 17:18 UTC (permalink / raw)
  To: git; +Cc: Stefan Sperling

[-- Attachment #1: Type: text/plain, Size: 1507 bytes --]

hi,

recently Stefan reported that he tried to convert the freebsd cvs' src
module to git and he failed. i tried to help him, but i failed, too.
here are my efforts:

he made the cvs available on a (relatively) fast rsync mirror at:

rsync://ftp.spline.de/FreeBSD-CVS

(so you don't have to use cvsup if it's a problem for you)

so after mirroring it, i had:

$ ls cvs
CVSROOT/  CVSROOT-ports/  CVSROOT-src/  ports/  src/

then i tried:

$ time git cvsimport -d `pwd`/cvs -C src.git src
Initialized empty Git repository in /home/vmiklos/git/freebsd/src.git/.git/
malformed revision
fatal: refs/heads/origin: not a valid SHA1
fatal: master: not a valid SHA1
warning: You appear to be on a branch yet to be born.
warning: Forcing checkout of HEAD.
fatal: just how do you expect me to merge 0 trees?
checkout failed: 256

real    15m11.529s
user    0m46.212s
sys     0m6.680s

my questions:

1) does cvsimport supports the case when the source if on the local
filesystem, and not in not on a cvs server?

first i wanted to make sure that cvsimport itself works properly here:

$ git cvsimport -d :pserver:anonymous@tcpflow.cvs.sourceforge.net:/cvsroot/tcpflow -C tcpflow tcpflow

and it converted this small repo fine

2) if it supports, then i think the real error message is 'malformed
revision'. what is the proper way to see where is that revision?

of course if cvsimport is not the right tool to incrementally convert
such a big repo, then i would be interested in other advices, too.

thanks,
- VMiklos

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2007-12-24 12:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-22 17:18 cvsimport: trying to convert freebsd cvs to git Miklos Vajna
2007-12-23  1:47 ` Anand Kumria
2007-12-23 12:06   ` David Soria Parra
2007-12-23 17:29 ` Jeff King
2007-12-23 21:13   ` Martin Langhoff
2007-12-24  3:05 ` Jeff King
2007-12-24  3:08   ` [PATCH] cvsimport: die on cvsps errors Jeff King
2007-12-24  3:21     ` Martin Langhoff
2007-12-24 12:43     ` Miklos Vajna

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).