[Top][All Lists]

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

RE: Sticky Tags

From: Jerry Nairn
Subject: RE: Sticky Tags
Date: Fri, 30 Mar 2001 15:00:20 -0800

>From: Scott Holmes [mailto:address@hidden
>Sent: Friday, March 30, 2001 9:46 AM

>I'm getting an error message on trying to commit:
>cvs server: sticky tag `WCGCPG-1-0' for file `init.blk' is not a branch

And as you know it is not on a branch. A tag which is not a branch tag is
intended to represent a certain point in a file's history. When you go to
check in from a workspace which was checked out using one of these tags, cvs
cannot replace the revision which has the tag with the modified revision you
are checking in. It cannot simply add your modification as the next revision
and move the tag because there may have been a dozen subsequent revisions on
the same branch or trunk after the tag.

>I realize the documentation discusses the update in reference 
>to branches but 
>I was hoping it also applied to tags in general.  Do I 

Pay more attention to the documentation of the differences between a tag and
a branch tag.

>  My reason for doing this is to have data for the $Name$ keyword.

You can get what you want by branching. I'm sure there are some other
workarounds, but cvs doesn't work the way you thought it would.

reply via email to

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