using the convert extension with multiple CVS modules
Chris Gow
chris.gow at gmail.com
Fri Sep 26 14:30:48 UTC 2008
On Thu, Sep 25, 2008 at 10:59 PM, Giorgos Keramidas <
keramida at ceid.upatras.gr> wrote:
> On Thu, 25 Sep 2008 19:33:29 -0400, "Chris Gow" <chris.gow at gmail.com>
> wrote:
> > Hi:
> >
> > My place of work is still using CVS for its version control system but
> > I am becoming extremely frustrated with it(well I've been frustrated
> > for a while, but thats not important). So I've started using hg
> > locally for my work but am finding the approach I've taken very
> > limiting. So far I've followed the approach outlined by a mozilla dev
> > ( https://wiki.mozilla.org/User:VladVukicevic/Mercurial_Testing). From
> > reading the archives and based on my experiences so far, this is not
> > the correct (or optimal) way to work with both CVS and hg.
> >
> > Based on the email threads I've seen in the archives it looks like I
> > should use the convert extension, however I have run into a snag. Our
> > CVS repo is made up of multiple modules and it appears that the
> > convert extension only supports a single module. Is there a way to get
> > convert to convert multiple modules into a single hg repo? Or am I
> > going to have to use tailor to do the conversion?
> >
> > Please keep in mind that I'd like to work in hg locally and
> > push/update to cvs.
>
> If there's a CVS `meta-module' that can pull more than one module from
> CVS into a single CVS workspace, you can probably use:
>
> cvs co metamodule
> hg convert metamodule metamodule-hg
>
> If you have access to the `CVSROOT/modules' file and that is ok, you can
> add entries like this to the `modules' file:
>
> foo-meta &bar &baz
> bar bar
> baz baz
>
> Then checking out the `foo-meta' module will pull in a single CVS
> workspace all the files of the `bar' and `baz' modules.
>
> The convert extension can then use *foo-meta* as its source workspace.
>
>
Huh. I tried creating the meta-module as you suggested, but convert still
did not work. It created the hg repository, but there was nothing in it. Any
ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20080926/69f2f5a0/attachment-0001.html>
More information about the Mercurial
mailing list