[Top][All Lists]

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

Re: CVSNT convert tag to branch

From: Sergei Organov
Subject: Re: CVSNT convert tag to branch
Date: Fri, 29 Feb 2008 20:46:50 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Spiro Trikaliotis <address@hidden> writes:

> Hello,
> * On Fri, Feb 29, 2008 at 05:33:35AM -0800 address@hidden wrote:
>> I've created a tag on my repository a few months ago. I've done
>> chenges in the head branch, but would like to add some more changes in
>> the tagged repository.
>> Is it possible to "convert" the tag into the branch?
> I believe the following should work with CVSNT the same way as it does
> with CVS:
> I assume the old tag is "TAG". You have to "invent" a new name for the
> branch tag (in my example, "BRANCHTAG"). Then do the following:
> $ cvs rtag -r TAG BRANCHTAG MODULE

Shouldn't it be 

$ cvs rtag -r TAG -b BRANCHTAG MODULE


Alternatively, if OP wishes to re-use the name TAG for the new branch,
he can:

$ cvs rtag -r TAG TMP_TAG MODULE
$ cvs rtag -d TAG MODULE
$ cvs rtag -r TMP_TAG -b TAG MODULE
$ cvs rtag -d TMP_TAG

Though actually I'd suggest something like this:

$ cvs rtag -r TAG TAG-branch-point MODULE
$ cvs rtag -r TAG-branch-point -b TAG-branch MODULE

as it's always a good idea to have a tag for the branch origin. The tag
TAG could then be deleted if not needed:

$ cvs rtag -d TAG MODULE

-- Sergei.

reply via email to

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