On Mon, 20 Jan 2003, Demissie, Yared wrote:

> Date: Mon, 20 Jan 2003 16:44:56 -0800
> From: "Demissie, Yared" <[EMAIL PROTECTED]>
> To: "Chen, Susie" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Subject: RE: Can I use same tag name on different branches?
> 
> It wouldn't let you use the same tag on two branches without over-writting
> the first one, so you would end up with just the last one, in your case b2.

If you tag twice, then CVS emits a warning for all files in which the
tag exists already and leaves it alone.

Suppose b2 contains a few files that are not in b1. 

You do

    cvs rtag -r b1 A module

Okay, so all the files at the tip of branch b1 have the tag now. Then
you do:

    cvs rtag -r b2 A module

now any files which are present in b2, but not in b1, get the tag. 

There is a -F option you can use to force the retagging.  I *think*
that if -F is combined with -r, this will also *remove* the tags from
files that are not in the new file set. 

I seem to recall that there is a bug with this if there is no -r option
(main trunk HEAD is *implicitly* selected as the revision). Probably
because the Attic optimization is applied. The workaround is to use 
``rtag -F -r HEAD'' when pushing a tag forward on the main trunk, such
that it's correctly removed from any files that were previously
tagged, but have been removed since then.

-- 
Meta-CVS: directory structure versioning; versioned symbolic links;
versioned execute permission; versioned property lists; easy branching
and merging and third party code tracking; all implemented over the
standard CVS command line client -- http://freshmeat.net/projects/mcvs



_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to