{"thread":{"id":"13605","subject":"git cvsimport error","startedAt":"2008-05-21T19:14:39Z","lastAt":"2008-05-24T05:23:31Z","messageCount":7,"participants":["Adam Mercer","Craig L. Ching","Shawn O. Pearce"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"77409","messageId":"799406d60805211214r6315268ard77678eb2ec5d732@mail.gmail.com","threadId":"13605","inReplyTo":null,"subject":"git cvsimport error","fromName":"Adam Mercer","fromEmail":"ramercer@gmail.com","sentAt":"2008-05-21T19:14:39Z","receivedAt":"2008-05-21T19:14:39Z","isPatch":false,"sender":{"key":"ramercer@gmail.com","avatar":"https://gravatar.com/avatar/16dc719817f62b75075d529ce4ea992ee82bb1a08e45a3029797f39223d6ee64?d=mp&s=160"},"body":"Hi\n\nI'm trying to convert a CVS repository to GIT (1.5.5.1 on Intel Mac OS\nX 10.5.2) using the following:\n\n[ram@mimir ~]$ git cvsimport -v -d :local:/Users/ram/test_cvs -C glue.git glue\nInitialized empty Git repository in /Users/ram/glue.git/.git/\nRunning cvsps...\ncvs_direct initialized to CVSROOT /Users/ram/test_cvs\ncvs rlog: Logging glue\ncvs rlog: Logging glue/bin\ncvs rlog: Logging glue/debian\ncvs rlog: Logging glue/doc\ncvs rlog: Logging glue/etc\ncvs rlog: Logging glue/glue\ncvs rlog: Logging glue/glue/ligolw\ncvs rlog: Logging glue/glue/ligolw/utils\ncvs rlog: Logging glue/glue/segfindserver\ncvs rlog: Logging glue/glue/segfindserver/segments_1_7\ncvs rlog: Logging glue/man\ncvs rlog: Logging glue/man/man1\ncvs rlog: Logging glue/sbin\ncvs rlog: Logging glue/src\ncvs rlog: Logging glue/src/conf\ncvs rlog: Logging glue/src/conf/db2\ncvs rlog: Logging glue/src/conf/mysql\ncvs rlog: Logging glue/src/conf/q_replication\ncvs rlog: Logging glue/src/conf/q_replication/cit\ncvs rlog: Logging glue/src/conf/q_replication/lho\ncvs rlog: Logging glue/src/conf/q_replication/llo\ncvs rlog: Logging glue/src/segments\ncvs rlog: Logging glue/test\nFetching glue/ldbd.py   v 1.1\nUnknown: error\n[ram@mimir ~]$\n\nHow can I get a more verbose error message to try and fix what's going\nwrong here?\n\nCheers\n\nAdam\n"},{"id":"77413","messageId":"799406d60805211239n42c39ea6iaa41a9ab379cafaa@mail.gmail.com","threadId":"13605","inReplyTo":"799406d60805211214r6315268ard77678eb2ec5d732@mail.gmail.com","subject":"Re: git cvsimport error","fromName":"Adam Mercer","fromEmail":"ramercer@gmail.com","sentAt":"2008-05-21T19:39:52Z","receivedAt":"2008-05-21T19:39:52Z","isPatch":false,"sender":{"key":"ramercer@gmail.com","avatar":"https://gravatar.com/avatar/16dc719817f62b75075d529ce4ea992ee82bb1a08e45a3029797f39223d6ee64?d=mp&s=160"},"body":"On Wed, May 21, 2008 at 2:14 PM, Adam Mercer <ramercer@gmail.com> wrote:\n\n> Fetching glue/ldbd.py   v 1.1\n> Unknown: error\n> [ram@mimir ~]$\n\nDone some digging with cvsps itself and it looks like the lbdb.py,v\nfile has become corrupted from a very early version...\n\nIs there a way that I can tell git to ignore the early revisions?\n\nCheers\n\nAdam\n"},{"id":"77418","messageId":"63BEA5E623E09F4D92233FB12A9F794301FC8B2D@emailmn.mqsoftware.com","threadId":"13605","inReplyTo":"799406d60805211239n42c39ea6iaa41a9ab379cafaa@mail.gmail.com","subject":"RE: git cvsimport error","fromName":"Craig L. Ching","fromEmail":"cching@mqsoftware.com","sentAt":"2008-05-21T19:51:50Z","receivedAt":"2008-05-21T19:51:50Z","isPatch":false,"sender":{"key":"cching@mqsoftware.com","avatar":null},"body":"\n> On Wed, May 21, 2008 at 2:14 PM, Adam Mercer \n> <ramercer@gmail.com> wrote:\n> \n> > Fetching glue/ldbd.py   v 1.1\n> > Unknown: error\n> > [ram@mimir ~]$\n> \n> Done some digging with cvsps itself and it looks like the \n> lbdb.py,v file has become corrupted from a very early version...\n> \n> Is there a way that I can tell git to ignore the early revisions?\n> \nNot a cvsps expert, but I'm at the same point as you in converting a\nrepo ;-)  Would the -d option on cvsps do what you want?\n\n> Cheers\n> \n> Adam\n> --\n> \nCheers,\nCraig\n"},{"id":"77571","messageId":"799406d60805231301l18c288ebt86a028e1ef795d9d@mail.gmail.com","threadId":"13605","inReplyTo":"63BEA5E623E09F4D92233FB12A9F794301FC8B2D@emailmn.mqsoftware.com","subject":"Re: git cvsimport error","fromName":"Adam Mercer","fromEmail":"ramercer@gmail.com","sentAt":"2008-05-23T20:01:24Z","receivedAt":"2008-05-23T20:01:24Z","isPatch":false,"sender":{"key":"ramercer@gmail.com","avatar":"https://gravatar.com/avatar/16dc719817f62b75075d529ce4ea992ee82bb1a08e45a3029797f39223d6ee64?d=mp&s=160"},"body":"On Wed, May 21, 2008 at 2:51 PM, Craig L. Ching <cching@mqsoftware.com> wrote:\n\n> Not a cvsps expert, but I'm at the same point as you in converting a\n> repo ;-)  Would the -d option on cvsps do what you want?\n\nIt should but I can't get it too work, the ldbd.py,v file is OK from\n2003/05/06 07:39:52, so after consulting the man pages for both\ngit-cvsimport and cvsps I ran the following\n\n$ git cvsimport -v  -p \"-d\" -p \"2003/05/06 07:40:00\"\n-d:local:/Users/ram/test_cvs -C glue.git glue\n\nyet git/cvsps still tries to retrieve the bad revisions, prior to the\nabove date. I'm clearly missing something?\n\nCheers\n\nAdam\n"},{"id":"77573","messageId":"799406d60805231324o209692d2o59a700024e52100c@mail.gmail.com","threadId":"13605","inReplyTo":"63BEA5E623E09F4D92233FB12A9F794301FC8BCA@emailmn.mqsoftware.com","subject":"Re: git cvsimport error","fromName":"Adam Mercer","fromEmail":"ramercer@gmail.com","sentAt":"2008-05-23T20:24:40Z","receivedAt":"2008-05-23T20:24:40Z","isPatch":false,"sender":{"key":"ramercer@gmail.com","avatar":"https://gravatar.com/avatar/16dc719817f62b75075d529ce4ea992ee82bb1a08e45a3029797f39223d6ee64?d=mp&s=160"},"body":"On Fri, May 23, 2008 at 3:05 PM, Craig L. Ching <cching@mqsoftware.com> wrote:\n> Yeah, I don't know much about it at all, but my advice would be to run\n> cvsps by itself and generate a cache that git-fast-import can import.\n> That's the approach we're taking because it gives us a chance to figure\n> out where things have gone wrong as we have some bad, buggy commits in\n> our archive (CVS created the bad commits).\n\nI thought of using git-fast-import but the problem is that the CVS\nrepository is still in use so I need to keep the git and CVS repos\nsynchronised and it seems like git-fast-import can't be used in this\ncase.\n\nCheers\n\nAdam\n"},{"id":"77574","messageId":"20080523203025.GU29038@spearce.org","threadId":"13605","inReplyTo":"799406d60805231324o209692d2o59a700024e52100c@mail.gmail.com","subject":"Re: git cvsimport error","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2008-05-23T20:30:25Z","receivedAt":"2008-05-23T20:30:25Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Adam Mercer <ramercer@gmail.com> wrote:\n> On Fri, May 23, 2008 at 3:05 PM, Craig L. Ching <cching@mqsoftware.com> wrote:\n> > Yeah, I don't know much about it at all, but my advice would be to run\n> > cvsps by itself and generate a cache that git-fast-import can import.\n> > That's the approach we're taking because it gives us a chance to figure\n> > out where things have gone wrong as we have some bad, buggy commits in\n> > our archive (CVS created the bad commits).\n> \n> I thought of using git-fast-import but the problem is that the CVS\n> repository is still in use so I need to keep the git and CVS repos\n> synchronised and it seems like git-fast-import can't be used in this\n> case.\n\nYou can run fast-import in incremental behavior.  You just have to\nrestart each branch with a \"from refs/heads/master^0\" or whatever.\nThere's some discussion of this in the (rather large) fast-import\nman page.\n\n-- \nShawn.\n"},{"id":"77639","messageId":"799406d60805232223q3e2e0cf3k9abfe97ca94d3eff@mail.gmail.com","threadId":"13605","inReplyTo":"20080523203025.GU29038@spearce.org","subject":"Re: git cvsimport error","fromName":"Adam Mercer","fromEmail":"ramercer@gmail.com","sentAt":"2008-05-24T05:23:31Z","receivedAt":"2008-05-24T05:23:31Z","isPatch":false,"sender":{"key":"ramercer@gmail.com","avatar":"https://gravatar.com/avatar/16dc719817f62b75075d529ce4ea992ee82bb1a08e45a3029797f39223d6ee64?d=mp&s=160"},"body":"On Fri, May 23, 2008 at 3:30 PM, Shawn O. Pearce <spearce@spearce.org> wrote:\n\n> You can run fast-import in incremental behavior.  You just have to\n> restart each branch with a \"from refs/heads/master^0\" or whatever.\n> There's some discussion of this in the (rather large) fast-import\n> man page.\n\nThanks I'll take a look at that as I've found that I can pass the -d\noption to cvsps which _should_ tell it to ignore revisions before a\ncertain date, but even doing this cvsimport tries to import the broken\nrevision prior date!\n\nCheers\n\nAdam\n"}]}