* [cvsimport] Import CVS repository from a specified date or branch name
@ 2009-10-23 7:52 Klaus Rödel
2009-10-23 20:10 ` Andreas Schwab
2009-10-23 21:38 ` Nick Woolley
0 siblings, 2 replies; 3+ messages in thread
From: Klaus Rödel @ 2009-10-23 7:52 UTC (permalink / raw)
To: git
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [cvsimport] Import CVS repository from a specified date or branch name
2009-10-23 7:52 [cvsimport] Import CVS repository from a specified date or branch name Klaus Rödel
@ 2009-10-23 20:10 ` Andreas Schwab
2009-10-23 21:38 ` Nick Woolley
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2009-10-23 20:10 UTC (permalink / raw)
To: Klaus Rödel; +Cc: git
Klaus Rödel <klaus.roedel@vipco.de> writes:
> 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?
You may be able to do that by passing the right arguments to cvsps.
From cvsps --help:
-d <date1> -d <date2> if just one date specified, show
revisions newer than date1. If two dates specified,
show revisions between two dates.
-b <branch> restrict output to patch sets affecting history of branch
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [cvsimport] Import CVS repository from a specified date or branch name
2009-10-23 7:52 [cvsimport] Import CVS repository from a specified date or branch name Klaus Rödel
2009-10-23 20:10 ` Andreas Schwab
@ 2009-10-23 21:38 ` Nick Woolley
1 sibling, 0 replies; 3+ messages in thread
From: Nick Woolley @ 2009-10-23 21:38 UTC (permalink / raw)
To: Klaus Rödel; +Cc: git
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-10-23 22:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-23 7:52 [cvsimport] Import CVS repository from a specified date or branch name Klaus Rödel
2009-10-23 20:10 ` Andreas Schwab
2009-10-23 21:38 ` Nick Woolley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).