{"thread":{"id":"21335","subject":"[cvsimport] Import CVS repository from a specified date or branch name","startedAt":"2009-10-23T07:52:28Z","lastAt":"2009-10-23T21:38:25Z","messageCount":3,"participants":["Klaus Rödel","Andreas Schwab","Nick Woolley"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"125776","messageId":"4AE160BC.5000608@vipco.de","threadId":"21335","inReplyTo":null,"subject":"[cvsimport] Import CVS repository from a specified date or branch name","fromName":"Klaus Rödel","fromEmail":"klaus.roedel@vipco.de","sentAt":"2009-10-23T07:52:28Z","receivedAt":"2009-10-23T07:52:28Z","isPatch":false,"sender":{"key":"klaus.roedel@vipco.de","avatar":null},"body":"Hello,\n\nI have a very large and old (serveral years) cvs repository and I want \nto import this in git.\nFor my work it is not nessecary to import all the revision history from \nthe cvs repository.\nIt is engough to import only the revisions from a specified date or \nbranch name of the cvs repo.\n\nIs this possible with git-cvsimport?\nIf yes, how?\nIf no, is it possible to include such a function in the git-cvsimport \nscript?\n\nThanks for any help.\n\nGreets Klaus\n"},{"id":"125806","messageId":"m2k4ylq3bz.fsf@igel.home","threadId":"21335","inReplyTo":"4AE160BC.5000608@vipco.de","subject":"Re: [cvsimport] Import CVS repository from a specified date or branch name","fromName":"Andreas Schwab","fromEmail":"schwab@linux-m68k.org","sentAt":"2009-10-23T20:10:08Z","receivedAt":"2009-10-23T20:10:08Z","isPatch":false,"sender":{"key":"schwab@linux-m68k.org","avatar":"https://avatars.githubusercontent.com/u/2175493?v=4"},"body":"Klaus Rödel <klaus.roedel@vipco.de> writes:\n\n> I have a very large and old (serveral years) cvs repository and I want to\n> import this in git.\n> For my work it is not nessecary to import all the revision history from\n> the cvs repository.\n> It is engough to import only the revisions from a specified date or branch\n> name of the cvs repo.\n>\n> Is this possible with git-cvsimport?\n> If yes, how?\n\nYou may be able to do that by passing the right arguments to cvsps.\nFrom cvsps --help:\n\n  -d <date1> -d <date2> if just one date specified, show\n     revisions newer than date1.  If two dates specified,\n     show revisions between two dates.\n  -b <branch> restrict output to patch sets affecting history of branch\n\nAndreas.\n\n-- \nAndreas Schwab, schwab@linux-m68k.org\nGPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5\n\"And now for something completely different.\"\n"},{"id":"125817","messageId":"4AE22251.7060901@yahoo.co.uk","threadId":"21335","inReplyTo":"4AE160BC.5000608@vipco.de","subject":"Re: [cvsimport] Import CVS repository from a specified date or branch name","fromName":"Nick Woolley","fromEmail":"nickwoolley@yahoo.co.uk","sentAt":"2009-10-23T21:38:25Z","receivedAt":"2009-10-23T21:38:25Z","isPatch":false,"sender":{"key":"nick@noodlefactory.co.uk","avatar":null},"body":"Klaus Rödel wrote:\n> I have a very large and old (serveral years) cvs repository and I want\n> to import this in git.\n> For my work it is not nessecary to import all the revision history from\n> the cvs repository.\n> It is engough to import only the revisions from a specified date or\n> branch name of the cvs repo.\n> \n> Is this possible with git-cvsimport?\n\nI'm not certain if it is possible, if it is I suspect it might require invoking\ncvsps first and then reading in the output generated with git-cvsimport, as\nAndreas implies.\n\nIn any case, the underlying cvsps program is flawed, and  in it's current form,\nalthough it seems to work ok for simple situations, I know for a fact that\ndidn't faithfully reproduce a rather big old CVS repository I tried it on. So if\nyou're planning on just importing once, and don't need incremental imports, from\nmy experience I'd suggest you'd fare better using cvs2git:\n\nhttp://cvs2svn.tigris.org/cvs2git.html\n\nCheers,\n\nN\n"}]}