[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Tagging the head of a branch and branching off a branch
From: |
Jim.Hyslop |
Subject: |
RE: Tagging the head of a branch and branching off a branch |
Date: |
Thu, 1 Apr 2004 14:04:21 -0500 |
Fouts Christopher wrote:
> I have a repository called sample, which I tagged as follows...
> > cvs rtag -r HEAD t_REL sample
>
> I then created a branch of the files with this tag...
> > cvs rtag -r t_REL -b b_DEV sample
>
> Correct?
>
> How do I now tag the HEAD of the b_DEV branch, and subsequently
> create a branches from it, say, b_DEV_CF and b_DEV_JS???
>From this point on, the tag "b_DEV" will always refer to the head of the
branch, so just substitute b_DEV for HEAD in the above commands:
cvs rtag -r b_DEV t_WHATEVER sample
cvs rtag -r t_WHATEVER -b bt_WHATEVER sample
You should try to minimize the branching-from-a-branch. CVS will handle it
with no problems, but users can easily get confused if your branch structure
gets too complex.
--
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)