cvs synthetic branchpoint commits (was Re: cvsps wrapper script on mercurial@)
John Hein
jhein at timing.com
Thu Oct 1 02:18:57 UTC 2009
Greg Ward wrote at 16:45 -0400 on Sep 30, 2009:
> Careful: if you get serious here, you are going to end up reinventing
> cvs2svn, which is 20,000 lines of pretty complex code. Trying to get
> sane information out of CVS is a very difficult job, and AFAIK only
> cvs2svn has so far got it right.
>
> I started down the same road that you are starting on now and wasted
> several weeks improving Mercurial's CVS conversion. Then I saw the
> light and decided to bolt a Mercurial backend on to cvs2svn instead,
> and have been much happier since then. It works.
Unfortunately, I've had issues coming using the cvs2svn route, too.
It seems better than the current state of hg convert from cvs, but it
still gives me files on branches that should not be there after
converting to hg.
I'll try to produce a simple example if I can.
In any case, it may be that the hgext/convert/cvs*.py could
learn something from cvs2svn.
More information about the Mercurial-devel
mailing list