Turning cvs2{svn,git} into cvs2hg

Greg Ward greg at gerg.ca
Fri Jul 31 17:37:21 CDT 2009

On Fri, Jul 31, 2009 at 6:16 PM, Michael Haggerty<mhagger at alum.mit.edu> wrote:
> You are quite right that cvs2git has a burning need for such a
> verification tool.  I built some (very!) minimal tools verifying CVS ->
> git conversions and contributed them to the git project for their tests
> of git-cvsimport.  It can be found in the git "next" branch under
> t/lib-cvs.sh and t/t96*.
> It would be great to have a generic basic "sine qua non" verifier that
> could be applied to any of the outputs.

Hang on a sec... are you telling me that even *you* didn't know about
Then I don't feel so bad for asking "where is it?" and then finding it
5 minutes after asking.  ;-)
Anyways, I've started hacking on it.  My patches so far are:


The last patch adds Mercurial support.  Should be relatively
straightforward to add git support too, as long as 'git tags' and 'git
branches' are as easy to parse as 'hg {tags,branches} -q' and 'svn

Or, if you just want to see the current code:


BTW, please let me know if you love my patches and want to immediately
start applying them.
Or if you hate, hate, hate them and will never let them near your
official repo.  If you're in the middle,
that's just fine... gives me time to polish things a bit more.  ;-)

Will respond to your other stuff later.


More information about the Mercurial-devel mailing list