> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Larry Jones > Sent: Friday, May 02, 2008 10:43 AM > To: Dan Peterson > Cc: [EMAIL PROTECTED] > 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
