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

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

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

From: Klaus Rödel <hidden>
Date: 2016-06-15 22:47:36

Hello,

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?
If yes, how?
If no, is it possible to include such a function in the git-cvsimport 
script?

Thanks for any help.

Greets Klaus

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

From: Nick Woolley <hidden>
Date: 2016-06-15 22:47:36

Klaus Rödel wrote:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help