info-cvs
[Top][All Lists]
Advanced

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

RE: [INFO-CVS] Branch Tag not a branch tag


From: Rick Genter
Subject: RE: [INFO-CVS] Branch Tag not a branch tag
Date: Fri, 2 May 2008 14:15:34 -0400

> From: address@hidden 
> [mailto:address@hidden 
> On Behalf Of Larry Jones
> Sent: Friday, May 02, 2008 10:43 AM
> To: Dan Peterson
> Cc: address@hidden
> Subject: Re: [INFO-CVS] Branch Tag not a branch tag
> 
> Dan Peterson writes:
> > 
> > Would there be any harm in simply doing this:
> > 
> >    cvs rtag -r foo_branch -F -b foo_branch tree
> 
> Yes.  If it works at all (which I'm not sure it does), it 
> would mess up
> all the currently correct files by creating a *new* branch 
> rooted at the
> tip of the exiting branch with the same name as the existing branch,
> which would then become nameless.  I don't know of any simple 
> way to fix
> the problem, you have to find the individual files that are wrong and
> fix them one by one.

One approach might be to do the following:

- back up your repository
- cvs rtag -d foo_branch tree

This will delete the foo_branch tag from any file in the tree where
foo_branch is *not* a branch tag. CVS will complain about the files
where it was a branch tag and not do the deletion. The output of the
command (sans the warnings) should be a list of the files that need to
be re-tagged

- cvs rtag -b foo_branch <list of files identified in output of previous
cvs rtag command>

--
Rick Genter
Principal Software Engineer
Silverlink Communications




reply via email to

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