Combining several CVS modules into one HG repository

Giorgos Keramidas keramida at ceid.upatras.gr
Mon Aug 27 21:27:12 CDT 2007


On 2007-08-27 16:01, David Ishee <yigyw4d02 at sneakemail.com> wrote:
> I have a CVS repository with a lot of history. It has several
> top-level modules. I would like to convert the project over to
> Mercurial, and I would like to put all these modules into one hg
> repository (preserving history if possible). Is it possible? I have an
> aliased module in CVS that points to the other modules, would that
> help?

You can try giving '.' as the CVS module name.  This may also convert
the ${CVSROOT}/CVSROOT files though, which in some cases is not exactly
the best thing to do.

Another option is to create a copy of the CVS repository, and physically
rename all the toplevel directories in ${CVSROOT} to something which can
be checked out as a single module by fromcvs or Tailor.



More information about the Mercurial mailing list