[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: how to create a module
From: |
Vishal Jain |
Subject: |
RE: how to create a module |
Date: |
Wed, 27 Feb 2002 18:12:46 -0500 |
As per my knowledge to just create a module you need not add any entry in
Module file. Just by adding a Module name in module file does not create a
project. Instead you will get an error message when you try to check out
that project. Error message will look like
cvs [checkout aborted]: there is no repository <CVSROOR>/<MODULENAME>
We use Module file to add certain restrictions on the usage of that
repository. For example there is an administrative project that I want to
know who is checking out or committing, I would add an entry in module file
to control that part.
To create a module in CVS there are two different ways. Read following part
of CVS manual.
http://www.cvshome.org/docs/manual/cvs_3.html#SEC38
The module file has nothing to do with creating a module in CVS. You can
have modules that you work on and their names not listed in module file.
Regards,
Vishal Jain
-----Original Message-----
From: Sangeetha Parthasarathy [mailto:address@hidden
Sent: Wednesday, February 27, 2002 8:57 PM
To: Vishal Jain
Subject: Re: how to create a module
Well, I did a cvs co src and expected to find an empty folder by the name
of the module I thus created. I didn't find it.
So I created a folder by that module name and added a file to it and
tried to check in. If I had succeded in creating a module in cvs,
wouldn't it accept file check-in to that module ?
Thanks
Sangeetha
Vishal Jain wrote:
> Hi,
>
> It all looks fine to me. What exactly is the problem that you are getting
> after creating this module? Is it like you cannot checkout this module
that
> you created 'quotes'? The entry in module file should look like
>
> ProjectName <where from to check out>
>
> In my case I keep
>
> Quote Quote
>
> Reason is "Quote" = my module name and "Quote" = the repository name in
CVS.
>
> REgards,
> Vishal Jain
>
> -----Original Message-----
> From: Sangeetha Parthasarathy [mailto:address@hidden
> Sent: Wednesday, February 27, 2002 7:58 PM
> To: address@hidden
> Subject: how to create a module
>
> Hi,
> I have come to the end of my tether trying to create a module. Please
> let me know what I am doing wrong.
> This is what I am doing. From the cvs.org I got the pricedure to create
> a module in an existing repository, which is as follows.
>
> Step 1:
> Get a working copy of the modules file.
>
> $ cvs checkout CVSROOT/modules
> $ cd CVSROOT
>
> Step 2:
> Edit the file and insert a line that defines the module.
>
> To define the module `quotes' inside project source/mod1/mod2/
>
> quotes source/mod1/mod2/quotes
>
> Step 3:
> Commit your changes to the modules file.
>
> $ cvs commit -m "Added the quotes module." modules
>
> Step 4:
> Release the modules module.
>
> $ cd ..
> $ cvs release -d CVSROOT
>
> Please let me know what I am doing wrong.
> Thanks
> Sangeetha
>
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs