info-cvs
[Top][All Lists]
Advanced

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

Re: Multi-branch modules possible?


From: Paul Sander
Subject: Re: Multi-branch modules possible?
Date: Thu, 18 Mar 2004 00:51:15 -0800

ClearCase does indeed have this capability.

CVS does not, but you can fake it out in a couple of ways.  The first is
to perform multiple checkouts, pulling the various directories from the
right branches.  Another is to play games with your branch tags so that
different branches are pulled with different directories.

To do the latter, create the branches as usual, using "cvs tag -b" and
committing changes.  Then use "cvs admin -Nnewtag:oldtag" to create
additional branch tags that point to existing branches.  You need to
start this at the top and work your way down, overriding the settings
of the tags the closer you get to the leaves of the tree.

Once done, you should be able to treat newtag as any other branch tag,
except that using it pulls source from different branches depending on
the directory.

Caveat:  I've only tested this with RCS.  Your mileage may vary.

--- Forwarded mail from address@hidden

Along the lines of Andy Jones' "Tagging across branches" thread posted
earlier today, I have a similar question.

There have been many occasions in which I have wished it were possible to
have a module where some directories were on one branch, and some
directories were on another (and so on).  I know CVS does not have native
support for this feature (I've heard ClearCase does however -- is that
true?), but I was wondering if there were any plans to add this capability
to CVS at some point in the future?  Has it ever been considered?

--- End of forwarded message from address@hidden





reply via email to

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