Re: branch-naming
"Gianni Mariani" <[EMAIL PROTECTED]> writes: >If you go to the repository and run this : >You probably should back up your repository before doing this ... > rcs -nNEWTAG:OLDTAG (on every RCS file that contains OLDTAG) >then this will create an alias (NEWTAG) for you. If this works, you can save yourself some trouble by using cvs admin. It will run the rcs command on all the files for you. However, I suspect that the above command will only make NEWTAG a synonym for the *tip* of branch OLDTAG. If that's true, your only recourse is to edit the ,v files ! Use a sed or perl script. Double-backup that repository ! -- Pierre Asselin Westminster, Colorado -= Posted via Newsfeeds.Com, Uncensored Usenet News =- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -== Over 80,000 Newsgroups - 16 Different Servers! =- ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: branch-naming
Matt, cvs tag -b creates a new branch - not an alias. You want to create tags that have the same revisions as the branch tags. You can use rcs commands to do just that. (or cvs admin as Andy pointed out) cvs admin -nNEWTAG:OLDTAG Will create a synonym of OLDTAG, not a new branch. G -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Matt Riechers Sent: Wednesday, October 17, 2001 9:14 AM To: Wim Dausy Cc: [EMAIL PROTECTED] Subject: Re: branch-naming Wim Dausy wrote: > > Matt Riechers wrote: > > > > Wim Dausy wrote: > > > > > > Matt Riechers wrote: > > > > > > > > Wim Dausy wrote: > > > > > > > > > > How do I give a new name(tag) to an exsisting branch, > > > > > > > > cvs tag -r current-tag-name alias-tag-name > > > > > > > this gives a non-branchtag. > > > > > > I need to give a new branchtag to an existing branchtag. > > > > If you specify a branch tag, you've just created a new branch. If you just want > > an alias of a tag, you can create a tag on another tag, as above. > > I want to create a new alias-branch-tag for an existing branch-tag. Am I missing something? Why wouldn't double tagging do what you want? -Matt ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: branch-naming
If you go to the repository and run this : You probably should back up your repository before doing this ... rcs -nNEWTAG:OLDTAG (on every RCS file that contains OLDTAG) then this will create an alias (NEWTAG) for you. ** If cvs chunders for some reason at some later point in time is your risk. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gianni Mariani Sent: Wednesday, October 17, 2001 9:06 AM To: Wim_DAUSY/BE/ALCATEL@ALCATEL; Matt Riechers; [EMAIL PROTECTED] Subject: RE: branch-naming Apart from going to each individual file and creating a tag manually that corresponds to the tag you want, I can't think of any other way. Why would you want such a thing ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Wim_DAUSY/BE/ALCATEL@ALCATEL Sent: Wednesday, October 17, 2001 7:50 AM To: Matt Riechers; [EMAIL PROTECTED] Subject: Re: branch-naming Matt Riechers wrote: > > Wim Dausy wrote: > > > > How do I give a new name(tag) to an exsisting branch, > > cvs tag -r current-tag-name alias-tag-name > this gives a non-branchtag. I need to give a new branchtag to an existing branchtag. Bye ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: branch-naming
Wim Dausy wrote: > > Matt Riechers wrote: > > > > Wim Dausy wrote: > > > > > > Matt Riechers wrote: > > > > > > > > Wim Dausy wrote: > > > > > > > > > > How do I give a new name(tag) to an exsisting branch, > > > > > > > > cvs tag -r current-tag-name alias-tag-name > > > > > > > this gives a non-branchtag. > > > > > > I need to give a new branchtag to an existing branchtag. > > > > If you specify a branch tag, you've just created a new branch. If you just want > > an alias of a tag, you can create a tag on another tag, as above. > > I want to create a new alias-branch-tag for an existing branch-tag. Am I missing something? Why wouldn't double tagging do what you want? -Matt ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: branch-naming
Matt Riechers wrote: > > Wim Dausy wrote: > > > > Matt Riechers wrote: > > > > > > Wim Dausy wrote: > > > > > > > > How do I give a new name(tag) to an exsisting branch, > > > > > > cvs tag -r current-tag-name alias-tag-name > > > > > this gives a non-branchtag. > > > > I need to give a new branchtag to an existing branchtag. > > If you specify a branch tag, you've just created a new branch. If you just want > an alias of a tag, you can create a tag on another tag, as above. I want to create a new alias-branch-tag for an existing branch-tag. Bye ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: branch-naming
Wim Dausy wrote: > > Matt Riechers wrote: > > > > Wim Dausy wrote: > > > > > > How do I give a new name(tag) to an exsisting branch, > > > > cvs tag -r current-tag-name alias-tag-name > > > this gives a non-branchtag. > > I need to give a new branchtag to an existing branchtag. If you specify a branch tag, you've just created a new branch. If you just want an alias of a tag, you can create a tag on another tag, as above. -Matt ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: branch-naming
Matt Riechers wrote: > > Wim Dausy wrote: > > > > How do I give a new name(tag) to an exsisting branch, > > cvs tag -r current-tag-name alias-tag-name > this gives a non-branchtag. I need to give a new branchtag to an existing branchtag. Bye ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: branch-naming
Wim Dausy wrote: > > How do I give a new name(tag) to an exsisting branch, cvs tag -r current-tag-name alias-tag-name -Matt ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs