Howdy:
I've been playing around with CVS for a little while, and I'd like to get started
using it at work (mostly configuring external code we get in for review). I've gone
through much of the manual, as well as a few other docs, and I still have some
questions.
In the section on Tracking Third-Party Sources (in the main CVS manual), it talks
about importing code for the first time like this:
$ cd wdiff-0.04
$ cvs import -m "Import of FSF v. 0.04" fsf/wdiff FSF_DIST WDIFF_0_04
where the last two arguments above are the Vendor_tag and Release_tag. Then, to
update the repository to the latest vendor source, do this:
$ tar xfz wdiff-0.05.tar.gz
$ cd wdiff-0.05
$ cvs import -m "Import of FSF v. 0.05" fsf/wdiff FSF_DIST WDIFF_0_05
I assume this pre-supposes that the new version (wdiff-0.05) has the same directory
structure, and the same set of (modified) source files as the previous version. What
happens if the organization of the source tree was changed? How much can CVS do on
it's own, or do I basically have to analyze all the changes beforehand and do a whole
slew of "cvs add" "cvs rm" etc? (I was hoping CVS would help with this part).
A couple sections farther in the manual is one called Multiple Vendor Branches, which
uses the -b (branch tag) to distinguish between two different branches of the same
code:
$ cvs import dir RED RED_1-0
$ cvs import -b 1.1.3 dir BLUE BLUE_1-5
Would this be a better approach for me? What are the implications if I do it this way?
I'm still learning about tags, revisions, branches, etc, so please phrase your answers
in the form a dummy like me can understand :)
Any suggestions from the more experienced would be greatly appreciated. Thanks in
advance, Steve Arnold
****************************************************************
Stephen L. Arnold Senior Systems Engineer
VAFB IV&V Activity email: [EMAIL PROTECTED]
ENSCO Inc. www: http://www.ensco.com
P.O. Box 5488 voice: 805.606.8838
Vandenberg AFB, CA 93437 fax: 805.734.4779
with Std.Disclaimer; use Std.Disclaimer;
****************************************************************