Too many tags after converting CVS repo
Greg Ward
gerg.ward+hg at gmail.com
Tue Jan 20 14:41:12 UTC 2009
On 20 January 2009, Michael Haggerty said:
> cvs2svn/cvs2git can output to a git-fast-import format dumpfile that is
> slightly modified to be readable by the hg fastimport extension. I
> haven't gotten any feedback about how well this works, and honestly
> don't even know whether the fastimport extension was ever finished, but
> if it works there is a good chance that it will result in a high-quality
> conversion.
>
> If that doesn't work, consider using cvs2svn to convert to git or
> Subversion then using hg import or another tool to convert to hg.
> (Getting the data correctly out of CVS is by far the most difficult part
> of any conversion.)
Playing around with cvs2{svn,git} as a way to convert to Mercurial is
definitely on my to-do list. But first I wanted to see how a plain
cvs2svn run goes (as you've seen over on the cvs2svn forum) and how a
plain "hg convert" goes.
BTW, I'm skeptical that cvs2git followed by "hg fastimport" will be
satisfactory because of how git represents branches. Unless git's
"fast import" format has a way to represet branches as an inherent
property of every changeset (the way Mercurial does it), then I
suspect the result will just be a git repository in Mercurial format.
(Disclaimer: as usual, I'm talking out of my posterior here. Haven't
actually tried it. Hey, uninformed speculation is what keeps
Internet mailing lists fun and lively!)
Greg
More information about the Mercurial
mailing list