info-cvs
[Top][All Lists]
Advanced

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

Re: Renaming a branch


From: Larry Jones
Subject: Re: Renaming a branch
Date: Wed, 4 May 2005 17:11:05 -0400 (EDT)

David Leskovac writes:
> 
> Okay. So rather than the 2-step process I mentioned in my original post
> where I would create a new branch from the original branch & then delete
> the original branch, there is a way to simply rename the existing branch
> with a "cvs admin -n" command? I looked at the syntax of "cvs admin" but
> it is not clear to me how this can be achieved. Would someone please provide
> an example?

You still need a 2-step process, you just use admin -n to create a new
name for the existing branch rather than using tag -b to create a new
branch:

        cvs admin -n newname:oldname
        cvs tag -d oldname

(Note that there's no "radmin" command so you need to have a checked out
working directory.)

-Larry Jones

Hmm... That might not be politic. -- Calvin




reply via email to

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