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: Kaz Kylheku
Subject: Re: create a branch on part of module
Date: Thu, 11 Jul 2002 16:53:00 -0700 (PDT)

On Thu, 11 Jul 2002, Chen, Susie wrote:

> Date: Thu, 11 Jul 2002 10:59:44 -0700
> From: "Chen, Susie" <address@hidden>
> To: address@hidden
> Subject: [info-cvs] create a branch on part of module
> 
> 
> There are 4 subfolders under module A:   A1/  A2/   A3/ and A4/.   Is it
> possible that I create a branch only for A4 ? 

Yes; moreover, you can later branch the others using the same symbol,
creating one unified branch.

However, there are some pitfalls. If you create a branch foo in A1
and then try to check out branch foo of A using cvs co -r foo A, CVS
will notice that the tag foo does not exist anywhere but in folder A1.
So you will only get A/A1.

You will have to instruct people to check out the main trunk of A (or
whatever branch foo was bade from) and then update A1 to your branch
foo.

Moreover, your branch is not truly isolated from changes which are
not on that branch. If A1 depends on things which are in A2, then
changes in A2 on the trunk affect A1.

So really, you are practicing very loose configuration management
when you do this as anything other than a temporary measure.

-- 
Meta-CVS: solid version control tool with directory structure versioning. 
http://users.footprints.net/~kaz/mcvs.html  http://freshmeat.net/projects/mcvs




reply via email to

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