From: Jonathan Nieder Date: Sat, 12 Nov 2011 00:24:26 GMT Subject: Re: Git: CVS to Git import Message-ID: <20111112002426.GA6602@elie.hsd1.il.comcast.net> In-Reply-To: Hi, Jakub Narebski wrote: > Jvsrvcs writes: >> Git: CVS to Git import >> >> We are moving from CVS to Git and want to know if anyone has had any >> experience there doing this and could share do's / dont's, best practices >> when doing the initial import. [...] > I think that Eric S Raymond "DVCS Migration Guide" > > http://www.catb.org/esr/dvcs-migration-guide.html That page says that "git cvsimport" tends to be your best bet. But my experience is exactly the opposite --- git-cvsimport can make a lot of mistakes, some of them documented in the ISSUES section of its manpage, and it is hard to notice until later. I've have good experiences using cvs2git from (but note that it does not support incremental imports). > and reposurgeon tool (to clean up conversion artifacts) > > http://www.catb.org/esr/reposurgeon/ Last time I checked, reposurgeon loads the entire history in memory. For projects with a longer history, "git filter-branch" might be a better fit. By the way, thanks for writing. If your experience results in some ideas for improving Documentation/gitcvs-migration.txt page, we'll probably be happy to take them. :) Good luck, Jonathan