Ilya Basin <basini...@gmail.com>:
> Hi Eric.
> I tried --fast-export. It's 2 times faster.
> The first thing that differs: in cvsps2 commits with adjacent
> timestamps were joined into one (see the attached files). Do you know
> the reason?
The cvsps guy included code to do that. Keith Packard didn't.
Sorry I can't be more helpful, but that's about all I know.
I didn't write either analysis stage; I understand cvsps's, somewhat,
because I had to fix several nasty bugs in it. I *don't* understand
cvs-fast-export's analysis stage very well yet, because it has no
obvious bugs that have required me to dive in. (Keith's notes
document one major bug, which may be inherent to the mismatch between
file- and changest-orientation and not fixable in the general case,
though I will try.)
> Does this --fast-export thing support what John mentioned, the
> "incremental import support"? Does 'git fast-import' has it?
cvs-fast-export does not have incremental-import support. Whether
git-cvs-import has it depend on which version you have and what
backend it it is using. I don't maintain that wrapper.
> I need it, because full import takes too long.
> The central repo of my employer is CVS, other people commit to it and
> I use git internally to be able to tidy my commit history before
> exporting to CVS.
You are out of luck. That feature was dependent on a very fragile
coupling between the old output format and a bunch of unmaintainably
horrible Perl in the git-cvs-import wrapper script. It didn't
work very well; frankly, I'm amazed it worked at all.
The things I had to do to fix the serious bugs in cvsps2 and make it
output a fast-import stream had the side effect of breaking that
coupling. cvsps3 won't give you that feature. Dropping back to cvsps2
to keep that feature will expose you to the cvsps2 bugs.
I'm sorry these tools are such a mess. I'm trying to fix that, but
it's hard, slow work. The problems are deeply ugly and the edge cases
have poisoned spikes.
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html