[Cvsnt] Setup Question
Dieter Bogdoll
srhizogcfzsc at spammotel.com
Wed Feb 20 07:24:34 GMT 2002
Hi Andrew,
thanks for your tip.
But I have one little problem with it. I will get really many directories on
the same level within CVS.
All projects and sub-projects would be lying in one directory. It would be
"nicer" if they would be in
a normal directory structure where the sub-project are within the directory
of the father project.
Does nobody have similary problems?
Ciao
Dieter
<aw_asdf.spam at me.not.yahoo.com> wrote in message
news:a4urvg$bs1$1 at sisko.my.home...
> Dieter Bogdoll <srhizogcfzsc at spammotel.com> wrote:
>
> > I want to achieve that some peoples can see the complete project with
all
> > sub-projects
> > and other people sees only one or more sub-projects.
>
> There are several ways of doing this. Probably the easiest
> is the following:
>
> o Create a directory for each sub-project.
> subproject_1
> subproject_2
> etc. Import these into CVS.
> o Create a directory for the top-level project, but do not
> place the subprojects into it. Import this into CVS.
>
> At this point, you will have the following in your CVS
> top-level directory:
> CVSROOT
> main_project
> subproject_1
> subproject_2
>
>
> o In the modules file (use "cvs checkout CVSROOT" to get an
> editable copy, modify it and then use "cvs commit" to get
> the changes read) you can then place a line like the
> following:
> BigProject main_project &subproject_1 &subproject_2
>
> If you then check out "BigProject"
> cvs checkout BigProject
> you will get the contents of main_project (the main project
> directory) placed in a project called "BigProject". In this
> directory (BigProject) there will be two subdirectories
> called supbroject_1 and subproject_2. Changes etc are managed
> on a per-directory basis, so you don't have to worry about
> "conflicts". Both sub-projects are real entities in the CVS
> repo, so you can check them out independently.
>
> Note that if a user checks out "main_project" directly (i.e.;
> the directory, not the module), then they will _NOT_ get the
> subprojects as well.
>
> Regards,
> Andrew.
>
> _______________________________________________
> Cvsnt mailing list
> Cvsnt at cvsnt.org
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
More information about the cvsnt
mailing list