[cvsnt] Renaming a branch

Paulo Soares psoares at consiste.pt
Wed Feb 1 16:15:43 GMT 2006


It doesn't also mention "admin -n" and it works. Maybe with the -A is the same (no idea).

Paulo 

> -----Original Message-----
> From: cvsnt-bounces at cvsnt.org 
> [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of Flávio Etrusco
> Sent: Wednesday, February 01, 2006 4:10 PM
> Cc: cvsnt at cvsnt.org
> Subject: Re: [cvsnt] Renaming a branch
> 
> Good call! BTW I've just noticed http://www.cvsnt.org/wiki/CvsCommand
> doesn't mention the '-A' options...
> And we should probably discourage the use of 'tag' and '[files]' and
> instead run 'rtag' for the whole module, right?
> 
> -Flávio
> 
> On 1/31/06, Daniel Lapolla <ldlapolla at yahoo.com> wrote:
> > Or you can use another approach:
> >
> > 1. create an alias branch of the branch you want to rename:
> >
> >         cvs tag -A -b -r old_branch_name new_branch_name 
> [your files]
> >
> > 2. remove the old branch name:
> >
> >         cvs tag -d -B old_branch_name [your files]
> >
> > Both operations will work with rtag too.
> >
> > Hope it helps.
> >
> > Daniel
> >
> >
> >
> > Paulo Soares wrote:
> > > admin -n did the trick although it's not documented in the CVSNT
> > > documentation.
> > >
> > > Paulo
> > >
> > >> -----Original Message-----
> > >> From: cvsnt-bounces at cvsnt.org
> > >> [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of Rick Genter
> > >> Sent: Tuesday, January 31, 2006 12:54 PM
> > >> To: Rick Genter
> > >> Cc: cvsnt at cvsnt.org
> > >> Subject: RE: [cvsnt] Renaming a branch
> > >>
> > >> A branch is a tag. Using standard CVS, you can do this with
> > >> admin -n. I
> > >> presume you can do the same with CVSNT. The Cederqvist 
> explains how to
> > >> do this (you create a new tag with the value of the old tag,
> > >> then delete
> > >> the old tag).
> > >>
> > >>
> > >> --
> > >> Rick Genter
> > >> Principal Engineer
> > >> Silverlink Communications
> > >>
> > >> -----Original Message-----
> > >> From: cvsnt-bounces at cvsnt.org
> > >> [mailto:cvsnt-bounces at cvsnt.org] On Behalf
> > >> Of Mike Wake
> > >> Sent: Tuesday, January 31, 2006 7:46 AM
> > >> To: Paulo Soares
> > >> Cc: cvsnt at cvsnt.org
> > >> Subject: Re: [cvsnt] Renaming a branch
> > >>
> > >> How courageous are you.
> > >>
> > >> The only way I have been able to achieve this is by 
> hacking the ,v
> > >> files.
> > >>
> > >> Cheers
> > >> Mikew
> > >>
> > >> Paulo Soares wrote:
> > >>> I need to rename a branch name. The docs have info 
> about renaming a
> > >> tag
> > >>> (actually a new name followed by delete) but I've no idea
> > >> how to do it
> > >>> for a branch.
> > >>>
> > >>> Paulo
> > >>> _______________________________________________
> > >>> cvsnt mailing list
> > >>> cvsnt at cvsnt.org
> > >>> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
> > >> _______________________________________________
> > >> cvsnt mailing list
> > >> cvsnt at cvsnt.org
> > >> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
> > >> _______________________________________________
> > >> cvsnt mailing list
> > >> cvsnt at cvsnt.org
> > >> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
> > >>
> > _______________________________________________
> > cvsnt mailing list
> > cvsnt at cvsnt.org
> > http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
> >
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
> 



More information about the cvsnt mailing list