[RFC] Should mercurial import cvs directly?

Jordan Breeding jordan.breeding at mac.com
Thu Aug 25 14:09:26 CDT 2005


Hello,

Right now the only easy way I see to get the code and history of a cvs repo into mercurial is to:

1) Use cvsps/git to create a git repo which you can incrementally update.
2) Do incremental updates from the git repo into a mercurial repo.

I think that given:

1) The existence of cvs2svn (written in python -- http://cvs2svn.tigris.org)
2) The existence of cvsps (http://www.cobite.com/cvsps)
3) The existence of the git cvs import script (written in perl -- http://www.kernel.org/git/?p=git/git.git;a=blob;f=git-cvsimport-script)

Would it be possible for mercurical to have a direct conversion script in contrib which would allow for importing cvs to mercurial, incrementally updating mercurial with new changes from cvs, and possible have it already create the tags for the mercurial repo?  I think that this would be a good feature to have for people looking for alternatives to cvs who already have code in cvs repos.

Thanks,
Jordan


More information about the Mercurial mailing list