info-cvs
[Top][All Lists]
Advanced

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

Re: Unable to add new files after checking out a tag


From: Eric Siegerman
Subject: Re: Unable to add new files after checking out a tag
Date: Fri, 3 May 2002 13:00:39 -0400
User-agent: Mutt/1.2.5i

On Thu, May 02, 2002 at 07:45:48PM -0000, b_dompe wrote:
> We bring a new tree up to date with the latest 'stamped' release by 
> using "cvs update -r<releasename>", where the release was created 
> with "cvs tag -RF <releasename>".
> 
> This seems to work for existing files.  However, when people try to 
> add a new file to the repository, they get the error "cannot add file 
> on non-branch tag <releasename>".  

This is what should happen.  The whole point of tagging a release
is to capture what it contains when you do so.  Allowing people to
change it after the fact defeats the purpose.

> We've only ben able to fix it by erasing the tree and doing a cvs co. 
> That gets the latest revision of every file though, which is not what 
> we want.

As an aside, you can get the same result by doing a "cvs update -A".
This isn't the result you want at the moment, of course, but some
day it might be :-)

> Is there a way to fix this?

For some definition of "fix".  The way to fix it depends on what
you're trying to accomplish.  Please explain your purpose in
adding files to a tagged -- "stamped", to use your word for it --
release.

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
Anyone who swims with the current will reach the big music steamship;
whoever swims against the current will perhaps reach the source.
        - Paul Schneider-Esleben



reply via email to

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