git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [cvsimport] Import CVS repository from a specified date or branch name

From
NWNick Woolley <nickwoolley@yahoo.co.uk>
Date
Oct 23, 2009, 21:38 UTC
Message-ID
<4AE22251.7060901@yahoo.co.uk>
In-Reply-To
<4AE160BC.5000608@vipco.de>
Klaus Rödel wrote:
Show 8 quoted lines
> I have a very large and old (serveral years) cvs repository and I want
> to import this in git.
> For my work it is not nessecary to import all the revision history from
> the cvs repository.
> It is engough to import only the revisions from a specified date or
> branch name of the cvs repo.
> 
> Is this possible with git-cvsimport?

I'm not certain if it is possible, if it is I suspect it might require invoking cvsps first and then reading in the output generated with git-cvsimport, as Andreas implies.

In any case, the underlying cvsps program is flawed, and in it's current form, although it seems to work ok for simple situations, I know for a fact that didn't faithfully reproduce a rather big old CVS repository I tried it on. So if you're planning on just importing once, and don't need incremental imports, from my experience I'd suggest you'd fare better using cvs2git:

http://cvs2svn.tigris.org/cvs2git.html
Cheers,
N
Previous: Andreas Schwab
Message 3 of 3 in “[cvsimport] Import CVS repository from a specified date or branch name”
  1. Klaus RödelOct 23, 2009
  2. Andreas SchwabOct 23, 2009
  3. Nick WoolleyOct 23, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.