Convert from cvs to bzr repository?
John Arbash Meinel
john at arbash-meinel.com
Mon Aug 15 02:51:07 BST 2005
Skip Montanaro wrote:
>Based on a note from Mark Shuttleworth that Guido van Rossum forwarded to
>the python-dev mailing list, I installed bzr 0.0.5 today. Being a person who's
>used nothing but CVS for several years, I have some repositories I'd like to
>convert to bzr, at least so I can experiment with something substantial.
>Unfortunately, I can't seem to find any mention of how to convert a repository
>from cvs to bzr. Mark mentioned that Ubuntu converts cvs repositories
>routinely, so I can't imagine there's no such tool. I just can't seem to find
>it. Is there a tool available somewhere?
>
>Thanks,
>
>Skip Montanaro
>skip at pobox.com
>
>
Canonical I believe uses cscvs to convert from CVS to Arch style
repositories.
You could use that, and then use baz2bzr available from Aaron Bentley at:
http://panoramicfeedback.com/opensource/bzrtools/
But that is kind of the long way about it.
The biggest problem is that the conversion from CVS to Arch is
inherently a little lossy, since CVS doesn't enforce much consistency.
(So you can tag a file, and then update it's tag, meaning it doesn't
make a clean branch).
I think most tools simplify by only allowing you to work on a single CVS
branch (like the main branch), rather than easily supporting multiple
CVS branches at a time.
That said, I think there is a way to make cscvs convert multiple
branches (you just do them one by one).
Since most people don't really use branches in CVS, I'm pretty sure that
Canonical only converts the main branch.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050814/40e4d203/attachment.pgp
More information about the bazaar
mailing list