Comment 2 for bug 523670

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 523670] Re: CVSps ignores revision order

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin von Gagern wrote:
> Oh, and to prove that bzr-cvsps-import doesn't already handle CVSps buggyness already:
> bzr log --forward -p

...

>
> So as you can see, the final state of the bzr import has file bar contain the string 1, while the cvs originally ended up with the string 2. So anyone importing from CVS and relying on that import for future development is likely to loose data, because I'm not sure it's feasible to fix this kind of corruption once it's committed to bzr.
>
> Is launchpad itself using cvsps-import? If so, this bug should affect
> launchpad itself as well. If not, what else do they use?
>

Launchpad does not use cvsps-import. There are currently 2 options

1) Launchpad uses 'cscvs', which is a rather involved setup, but
probably one of the highest fidelity conversions. It is designed to also
handle stuff like people manually hacking their CVS repository. eg
Copying a ,v file suddenly shows a new file in your whole ancestry,
which wasn't there during the previous conversion, cscvs is the only
converter I know that handles that.

2) The cvs2svn converter actually has a suite of tools to convert to
various targets. One (cvs2bzr) can output a 'fast-import' stream, that
can then be converted using 'bzr fast-import' (with bzr-fastimport
installed).

I'm told that cvs2bzr can be used incrementally, but AIUI it will have
to see the whole history to generate a new 'fast-import' file. So it
cannot extract incrementally, but 'bzr fast-import' should be able to
incrementally update an existing conversion.

I haven't been very actively maintaining bzr-cvsps-import, mostly
because the other tools are better, and as you say, cvsps isn't very
good at convertying CVS changes into logical changesets.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkt9VTQACgkQJdeBCYSNAANu+gCdF8hqKbpGk7gnUQq+TlKLWwpH
IEoAoIcFO3NXCrAq+oB2wSPUBE1CFHz2
=yjWf
-----END PGP SIGNATURE-----