{"thread":{"id":"11257","subject":"What to do if git-cvsimport/cvsps hangs?","startedAt":"2007-12-12T09:30:39Z","lastAt":"2007-12-14T01:56:02Z","messageCount":4,"participants":["Florian Weimer","Andreas Ericsson","Michael Haggerty","Jakub Narebski"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"62886","messageId":"824peojm4g.fsf@mid.bfk.de","threadId":"11257","inReplyTo":null,"subject":"What to do if git-cvsimport/cvsps hangs?","fromName":"Florian Weimer","fromEmail":"fweimer@bfk.de","sentAt":"2007-12-12T09:30:39Z","receivedAt":"2007-12-12T09:30:39Z","isPatch":false,"sender":{"key":"fweimer@bfk.de","avatar":null},"body":"This is probably more of a cvsps question than a GIT question, but\nAFAICT, the cvsps upstream is mostly inactive these days.\n\nI tried to import the PostgreSQL repository, using\n\n  git-cvsimport  -d :pserver:anoncvs@anoncvs.postgresql.org:/projects/cvsroot -k -C pgsql pgsql\n\nHowever, after a bit of activity, git-cvsimport hangs at the following\nline\n\n  cvs rlog: Logging pgsql/src/win32\n\nstrace doesn't show any system call activtiy in the cvsps process\n(which consumes 100% CPU).  cvsps is Debian's 2.1-2 version.\n\nIs there some kind of replacement for cvsps which works more reliably?\n\n-- \nFlorian Weimer                <fweimer@bfk.de>\nBFK edv-consulting GmbH       http://www.bfk.de/\nKriegsstraße 100              tel: +49-721-96201-1\nD-76133 Karlsruhe             fax: +49-721-96201-99\n"},{"id":"62919","messageId":"4760041D.4030606@op5.se","threadId":"11257","inReplyTo":"824peojm4g.fsf@mid.bfk.de","subject":"Re: What to do if git-cvsimport/cvsps hangs?","fromName":"Andreas Ericsson","fromEmail":"ae@op5.se","sentAt":"2007-12-12T15:54:05Z","receivedAt":"2007-12-12T15:54:05Z","isPatch":false,"sender":{"key":"ae@op5.se","avatar":"https://gravatar.com/avatar/426e89595c75a8f5252dd0c989e5fabe5bcac616e68557427ad9aef6b0ca342a?d=mp&s=160"},"body":"Florian Weimer wrote:\n> This is probably more of a cvsps question than a GIT question, but\n> AFAICT, the cvsps upstream is mostly inactive these days.\n> \n> I tried to import the PostgreSQL repository, using\n> \n>   git-cvsimport  -d :pserver:anoncvs@anoncvs.postgresql.org:/projects/cvsroot -k -C pgsql pgsql\n> \n> However, after a bit of activity, git-cvsimport hangs at the following\n> line\n> \n>   cvs rlog: Logging pgsql/src/win32\n> \n> strace doesn't show any system call activtiy in the cvsps process\n> (which consumes 100% CPU).  cvsps is Debian's 2.1-2 version.\n> \n> Is there some kind of replacement for cvsps which works more reliably?\n> \n\nI think \"git fast-import\" has a CVS frontend. I'm not sure though,\nso I leave finding out and trying it as an exercise for you ;-)\n\nIt requires file access to the CVS repository, afaiu.\n\n-- \nAndreas Ericsson                   andreas.ericsson@op5.se\nOP5 AB                             www.op5.se\nTel: +46 8-230225                  Fax: +46 8-230231\n"},{"id":"62920","messageId":"47600521.7080604@alum.mit.edu","threadId":"11257","inReplyTo":"824peojm4g.fsf@mid.bfk.de","subject":"Re: What to do if git-cvsimport/cvsps hangs?","fromName":"Michael Haggerty","fromEmail":"mhagger@alum.mit.edu","sentAt":"2007-12-12T15:58:25Z","receivedAt":"2007-12-12T15:58:25Z","isPatch":false,"sender":{"key":"mhagger@alum.mit.edu","avatar":"https://avatars.githubusercontent.com/u/119718?v=4"},"body":"Florian Weimer wrote:\n> This is probably more of a cvsps question than a GIT question, but\n> AFAICT, the cvsps upstream is mostly inactive these days.\n> \n> I tried to import the PostgreSQL repository, using\n> \n>   git-cvsimport  -d :pserver:anoncvs@anoncvs.postgresql.org:/projects/cvsroot -k -C pgsql pgsql\n> \n> However, after a bit of activity, git-cvsimport hangs at the following\n> line [...]\n> \n> Is there some kind of replacement for cvsps which works more reliably?\n\nYes, cvs2svn, which can now also output to git.  But note: cvs2svn only\nsupports one-time conversions (not incremental), you need to use the\ntrunk version of cvs2svn, and using it to convert to git is not yet\ndocumented very well.  See the following thread:\n\nhttp://marc.info/?l=git&m=118592701426175&w=4\n\nPlease let us know how it goes!\n\nMichael\n"},{"id":"63074","messageId":"m3sl26qbth.fsf@roke.D-201","threadId":"11257","inReplyTo":"824peojm4g.fsf@mid.bfk.de","subject":"Re: What to do if git-cvsimport/cvsps hangs?","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2007-12-14T01:56:02Z","receivedAt":"2007-12-14T01:56:02Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Florian Weimer <fweimer@bfk.de> writes:\n\n> This is probably more of a cvsps question than a GIT question, but\n> AFAICT, the cvsps upstream is mostly inactive these days.\n> \n> I tried to import the PostgreSQL repository, using\n> \n>   git-cvsimport  -d :pserver:anoncvs@anoncvs.postgresql.org:/projects/cvsroot -k -C pgsql pgsql\n> \n> However, after a bit of activity, git-cvsimport hangs at the following\n> line\n> \n>   cvs rlog: Logging pgsql/src/win32\n> \n> strace doesn't show any system call activtiy in the cvsps process\n> (which consumes 100% CPU).  cvsps is Debian's 2.1-2 version.\n> \n> Is there some kind of replacement for cvsps which works more reliably?\n\nYou can try set of patches to cvsps there (see GitLinks at Git Wiki,\nor git-cvsimport entry at InterfacesFrontendsAndTools)\n  http://ydirson.free.fr/en/software/scm/cvsps.html\n\nOr you can try other CVS importers (see InterfacesForntendsAndTools):\n - parsecvs by Keith Packard, used to import X.Org, seems to be\n   unmaintaned, requires access to *,v files (but check out cvssuck)\n - fromcvs by Simon 'corecode' Schubert, uses git-fast-import, \n   IIRC in Ruby\n - cvs2svn has _experimental_ support for git export (git-fast-import?)\n   so you can try this as well.\n\n-- \nJakub Narebski\nPoland\nShadeHawk on #git\n"}]}