info-cvs
[Top][All Lists]
Advanced

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

Re: failed to remove tag - cannot remove file


From: Andrew Goktepe
Subject: Re: failed to remove tag - cannot remove file
Date: Fri, 7 Oct 2005 09:54:09 -0500

Thanks, that did help. I was able to re-remove the file after removing
the HEAD sticky tag. My update script was blindly specifying the tag
for each project, which seems to be what got me into this mess.

But is it really normal behavior for an update -r HEAD to bring in
files that have been removed? I've found 3 resurrected files so far.

Here's the sequence of events in case that sheds any light on this:

1) ran a cvs update -r HEAD (mistake to specify HEAD here)
2) created a branch and a tag on the local checkout dir from above
3) noticed in viewcvs that some files on the trunk had a state of
'Exp' and a very old mod date when they should have state 'dead'. It's
like someone restored the files this week but the date on the change
is over a year ago. The previous revision shows the dead state.

Could tagging the local checkout with the HEAD sticky tag somehow have
brought back these dead files?

-Andrew

On 10/6/05, Russ Sherk <address@hidden> wrote:
> On 10/5/05, Andrew Goktepe <address@hidden> wrote:
> > Recently, a CVS update of one of our modules brought in a file that
> > has been removed for more than a year, and now I am unable to get rid
> > of it. When I try to commit the removal of the file, I get a "failed
> > to remove tag" error message:
> >
> > $ cvs status PriceGuideListContainer.java
> > =========================================================
> > File: no file PriceGuideListContainer.java              Status: Locally 
> > Removed
> >
> >    Working revision:    -1.15
> >    Repository revision: 1.15
> > /cvs/CVS_REPOSIT/<blah>/PriceGuideListContainer.java,v
> >    Sticky Tag:          HEAD (revision: 1.15)
> >    Sticky Date:         (none)
> >    Sticky Options:      (none)
> >
> > $ cvs commit -m "" PriceGuideListContainer.java
> > cvs commit: failed to remove tag `HEAD' from `PriceGuideListContainer.java'
> > $
> >
> > We were running CVS 1.11 until I ran into this problem. I've since
> > updated the server and client to 1.11.20, but I still cannot commit
> > this file to get rid of it.
> >
> > Does this look like corruption? I also tried running the check_cvs
> > script from the 1.11.20 installation, but it fails with this message:
> >
>
> You can try to run this in your current sandbox:
> cvs up -A MODULE/PATH/PriceGuideListContainer.java
> cvs ci MODULE/PATH/PriceGuideListContainer.java
>
> The '-A' clears the sticky tag HEAD.  You can't commit to a non-branch
> revision (file with sticky tag; HEAD or otherwise).
>
> Does that help?
>
> --Russ
>
> > $ check_cvs
> > Unable to read checkoutlist file: No such file or directory
> > $
> >
> > Andrew Goktepe
> > address@hidden
> >
> >
> > _______________________________________________
> > Info-cvs mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/info-cvs
> >
>




reply via email to

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