[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: branch/tag short questions
From: |
Jim.Hyslop |
Subject: |
RE: branch/tag short questions |
Date: |
Tue, 12 Oct 2004 10:31:20 -0400 |
> Content-Type: text/html; charset=us-ascii
Please post plain-text only to this mail list. Many of the readers of this
list (in particular, some of the experts you *really* want answering your
questions :-) will ignore HTML or MIME-encoded messages.
Richard Pfeiffer wrote:
> Three short questions:
>
> We have dev grp that labeled a tag the same as the branch.
> Now they can't get to the branch.
>
> 1) Is their a way we can rename the tag?
Not directly. You can add new tags (specify the -r option to make it apply
to the same revision as an existing tag) and delete the old tags,
effectively renaming them.
You can convert a non-branch tag into a branch tag by using the -F option,
e.g.:
cvs tag xxx filename
# oops - meant it to be a branch:
cvs tag -F -b xxx filename
If there are a lot of files and you omit 'filename', CVS will ignore the
command for files that already have the tag as a branch.
HTH!
--
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)