[Top][All Lists]

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

Re: Bug is tagging the head of a branch head???

From: Larry Jones
Subject: Re: Bug is tagging the head of a branch head???
Date: Wed, 19 May 2004 00:52:06 -0400 (EDT)

"Fouts Christopher ()" writes:
> If I want to tag the head of a newly created branch (with no work
> committed to it yet), I just do a 
>       > cvs rtag -r b_dev_01_02 t_pre_dev_01_02_xx sample
> correct?


> Now when I do a checkout of the tagged files,
> and do a cvs status -v on one of the files, it shows the tag sticking
> to the HEAD revision, NOT the branch head revision. 

Also correct.

> Is this a bug???

No, it's an optimization.  CVS doesn't really create a branch in the RCS
file until you commit changes on the branch.  So, until you actually
commit changes on the branch, the head of the branch is the revision you
branched from.

-Larry Jones

Mom must've put my cape in the wrong drawer. -- Calvin

reply via email to

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