Recommended approach for converting from CVSNT to Mercurial?

Greg Ward greg-hg at gerg.ca
Thu Jan 14 14:06:03 CST 2010


On Wed, Jan 13, 2010 at 11:11 PM, greg fenton <greg.fenton at gmail.com> wrote:
> Just to be clear, that is the total of my entire CVS repository which
> comprises many modules.  I believe that cvs2hg should be run on a
> per-module basis, right?

Ah!  You mean you actually use CVS the way it was meant to be used?
How novel!  I've been saddled with our, ummm, unique way of arranging
a CVS repository for so long that I've almost forgotten there is a
sensible way of doing it.  (We have multiple top-level directories,
but they are not independent modules at all.  You have to checkout
individual subdirectories, and the way you do that is by first
checking out a file that list the subdirs to checkout.  Man I can't
wait until we're done migrating to Mercurial.)

> In that case the numbers are much broken down.  And to be honest, I'm
> sure I could convince the development team to drop 70% of the modules
> or simply leave them in CVS since they are almost completely unused
> these days.

Yeah, I think our ~8 GB CVS repository is becoming a 400 MB Mercurial
repository plus 830 MB of "big file" history.  A lot of that 8 GB is,
though is 1) tags, 2) large files that never should have been
committed to source control, and 3) third-party code.

Greg


More information about the Mercurial mailing list