info-cvs
[Top][All Lists]
Advanced

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

Re: Problem with tagging on branch


From: Larry Jones
Subject: Re: Problem with tagging on branch
Date: Wed, 20 Jun 2001 10:58:35 -0400 (EDT)

Parth venkat writes:
> 
> Problem 1 ) I was trying to tag a branch tag_1 and inadverdently ended up
> tagging the trunk. so now tag_1 is on trunk with revision 1.2 say. 
>  
> Now is there a way to use the same tag on the branch ? 
> If yes please do let me know.

You can't have the same tag as both a revision tag and a branch tag in
the same file, so you need to remove the revision tag and then add the
branch tag.  You can do that in two steps using tag -d followed by tag
-b, or in one step by using tag -F -b.

> Is there a way of doing it with use of cvs admin

Probably, but it's simpler to use tag.

> problem 2 ) Also is there a way to do a specific time (with option -D ) tag on
> a branch? 

Some commands allow you to specify both -r and -D to get a specific date
on a branch, but tag isn't one of them (although it probably will be
in the not too distant future).  Both checkout and update do allow it,
however, so you can checkout or update a working directory to the
appropriate revisions and then use tag to tag them.

-Larry Jones

Don't you hate it when your boogers freeze? -- Calvin



reply via email to

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