[cvsnt] Re: modules / modules2 help

Matt Schuckmann matthew_schuckmann at amat.com
Mon Aug 15 18:20:07 BST 2005

I think that if you add this to modules2 it should give you most of what you

A1dir = A1dir
B1dir = B1dir
C3dir = C1dir/C2dir/C3dir

The only thing that doesn't seem to work is placing the c2file in the root
of NEWMODDIR, according to the documentation the following line should do
this but it doesn't seem to work in practice.

/ = !C1dir/C3dir

In fact it seems to prevent all the other lines from working.

I've also noticed that some of the cvs commands don't work as advertised
with the modules2 stuff, in particular ls doesn't work.
I'm doing the same thing that you are and I wanted to restructure the code
to inprove code sharing etc then used modules2 to make it look like it used
to until we were ready to restructure the makefiles but since modules2
doens't seem to work as advertised I had to abandon that effort.

No one seems willing to talk about or fix modules2 even though it is
advertised as one of the great new features of CVSNT.

Matt S.

"Mark Johnson" <amarkjohnson at gmail.com> wrote in message
news:mailman.493.1124125370.448.cvsnt at cvsnt.org...
I am fairly new to cvsnt.

  server = cvsnt
  client = wincvs, using cvsnt client

I am trying to figure out the modules and modules2 files, prior to the
initial creation of my repository.  We are starting a new project in
cvsnt based on an existing project in another source control system.
We are adding everything from scratch, as we do some restructuring.
This allows the opportunity to plan the repository, and how we'll use
the modules file (and which one).  The problem is that I don't know
enough to figure it all out.

I currently have modules Adir, Bdir, and Cdir, which I imported,. with
the real repo structure below




I want a module that checks out the contents of C2dir (+ all files &
subdirs), A1dir (+all), B1dir (+all)


I could not figure this out w/ modules, and tried the following w/
modules2, which does not work.

/ = C1dir/C2dir

I guess the main thing I stumped on, is how do I check out one module
into another?

I have read the modules file info in the main cvs documentation, and
also modules/modules2 doc in winCvs.

Thanks in advance for any help

Mark Johnson

More information about the cvsnt mailing list