info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: create a branch on part of module


From: Chris Palmer
Subject: Re: create a branch on part of module
Date: Thu, 11 Jul 2002 15:31:30 -0700 (PDT)

Larry Jones wrote
> Eric Siegerman writes:
> > 
> > On Thu, Jul 11, 2002 at 10:59:44AM -0700, Chen, Susie wrote:
> > > There are 4 subfolders under module A:   A1/  A2/   A3/ and A4/.   Is it
> > > possible that I create a branch only for A4 ? 
> > 
> > Sure.  Just cd to A4 before creating the tags.
> 
> But be aware that that may not do want you want.  In particular, if you
> try to update A to that branch, A1, A2, and A3 will all dispppear
> because they don't exist on the branch.
> 
> -Larry Jones

You might also be able to do what you want as an alias to the
A4 subdir?  That way the other directories are not touched at all.
That's controlled via the CVSROOT/modules file.

eg, an entry like this:

A4only   A/A4

maps the project alias "A4only" to the A/A4 directory.  I believe 
that when you check it out of the repository that you'll get a dir
by the name A4only with the contents of A/A4 (not 2 levels deep).

The reality, though, is that this alias is not really a seperate
project, but the same directory in the A project, but it will
limit your view of that project.

Would be a good idea to look up a definition of what the modules
config file does just to be sure it does what you may need... :)

-Chris



reply via email to

[Prev in Thread] Current Thread [Next in Thread]