Re: CVS Tagging



Thomas Mailund <mailund@mail1.stofanet.dk> writes:

> >>>>> "P" == Peter Williams <peter@newton.cx> writes:
> 
>  P> I want to create a new branch of the Balsa CVS source called
>  P> balsa-0-8... what is the correct command for this?  My best guess
>  P> so far is
> 
>  P> cvs -z3 rtag -b balsa-0-8 balsa
> 
>  P> ... but I'm not sure and I don't wanna make everything explode
>  P> suddenly. Anyone with greater CVS knowledge who can help?
> 
> you can use rtag to create a branch without having a local copy, but
> then you need an additional argument, the revision the branch should
> be rooted at :
> 
>  % cvs -z3 rtag -b -r <root-revision> balsa-0-8 balsa

You should also tag the root of the branch first - this makes it much
easier to make patches (see what has changed in the branch):

	% cvs rtag balsa-0-8-anchor balsa
	% cvs rtag -b -r balsa-0-8-anchor balsa-0-8 balsa

> If you have a working copy you can just use tag, as in
> 
>  % cvs -z3 tag -b balsa-0-8

Please don't use this - it won't be recorded in the cvs history.

-- 
Martin Baulig - martin@home-of-linux.org - http://www.home-of-linux.org




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