{"thread":{"id":"11091","subject":"problems with importing from cvs archive","startedAt":"2007-12-02T06:46:13Z","lastAt":"2007-12-02T17:07:41Z","messageCount":4,"participants":["Ed S. Peschko","Jakub Narebski","Jean-François Veillette","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"61628","messageId":"20071202064613.GB25351@venus","threadId":"11091","inReplyTo":null,"subject":"problems with importing from cvs archive","fromName":"Ed S. Peschko","fromEmail":"esp5@pge.com","sentAt":"2007-12-02T06:46:13Z","receivedAt":"2007-12-02T06:46:13Z","isPatch":false,"sender":{"key":"esp5@pge.com","avatar":null},"body":"All,\n\nI'm trying to use git-cvsimport to import from a CVS archive, using:\n\ngit-cvsimport -d $CVSROOT\n\nand am getting the following error:\n\n\tfatal: refs/heads/origin: not a valid SHA1\n\tfatal: master: not a valid SHA1\n\twarning: You appear to be on a branch yet to be born\n\twarning: Forcing checkout of HEAD\n\tfatal: just how do you expect me to merge 0 trees?\n\tcheckout failed: 256\n\nIs git-cvsimport meant to be universal - ie: work on any given CVS worktree - or do \nyou need to prep the CVS worktree in any way in order for it to be used?\n\nOr is this just a plain vanilla bug? \n\nThanks,\n\nEd\n\n \n"},{"id":"61633","messageId":"m3lk8dwi4x.fsf@roke.D-201","threadId":"11091","inReplyTo":"20071202064613.GB25351@venus","subject":"Re: problems with importing from cvs archive","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2007-12-02T09:39:02Z","receivedAt":"2007-12-02T09:39:02Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"\"Ed S. Peschko\" <esp5@pge.com> writes:\n\n> I'm trying to use git-cvsimport to import from a CVS archive, using:\n> \n> git-cvsimport -d $CVSROOT\n> \n> and am getting the following error:\n> \n> \tfatal: refs/heads/origin: not a valid SHA1\n> \tfatal: master: not a valid SHA1\n> \twarning: You appear to be on a branch yet to be born\n> \twarning: Forcing checkout of HEAD\n> \tfatal: just how do you expect me to merge 0 trees?\n> \tcheckout failed: 256\n\n[...]\n\n> Or is this just a plain vanilla bug? \n\nI guess that you might have been bitten by (just corrected, but not in\nany released version yet) the bug in git-cvsimport (which is quite\nold, and not very well maintained) when branches are packed.\n\nYou can either try last patch to cvsimport (it is in 'master'),\nor unpack refs using \"git reset --soft HEAD\" when on given packed\nbranch,\n\n-- \nJakub Narebski\n"},{"id":"61646","messageId":"C4B8CB94-3B39-4C14-9134-DE43684A3AB7@yahoo.ca","threadId":"11091","inReplyTo":"20071202064613.GB25351@venus","subject":"Re: problems with importing from cvs archive","fromName":"Jean-François Veillette","fromEmail":"jean_francois_veillette@yahoo.ca","sentAt":"2007-12-02T15:14:07Z","receivedAt":"2007-12-02T15:14:07Z","isPatch":false,"sender":{"key":"jean_francois_veillette@yahoo.ca","avatar":null},"body":"Le 07-12-02 à 01:46, Ed S. Peschko a écrit :\n\n> All,\n>\n> I'm trying to use git-cvsimport to import from a CVS archive, using:\n>\n> git-cvsimport -d $CVSROOT\n\nI was able to go further just by adding the verbose mode ( -v ) :\ngit cvsimport -v -d ...\n\ngive it a try,\n\n- jfv\n"},{"id":"61658","messageId":"20071202170741.GB29781@coredump.intra.peff.net","threadId":"11091","inReplyTo":"C4B8CB94-3B39-4C14-9134-DE43684A3AB7@yahoo.ca","subject":"Re: problems with importing from cvs archive","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2007-12-02T17:07:41Z","receivedAt":"2007-12-02T17:07:41Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Sun, Dec 02, 2007 at 10:14:07AM -0500, Jean-François Veillette wrote:\n\n> Le 07-12-02 à 01:46, Ed S. Peschko a écrit :\n>\n>> All,\n>>\n>> I'm trying to use git-cvsimport to import from a CVS archive, using:\n>>\n>> git-cvsimport -d $CVSROOT\n>\n> I was able to go further just by adding the verbose mode ( -v ) :\n> git cvsimport -v -d ...\n\nThere were some serious problems with the argument parsing of\ngit-cvsimport with respect to finding the correct module from the git\nconfig or from your CVS working directory. This should all be fixed in\nv1.5.3.7; please let me know if you still have a problem with that\nversion.\n\n-Peff\n"}]}