info-cvs
[Top][All Lists]
Advanced

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

Re: Removing sticky tag 'HEAD' in cvs


From: Larry Jones
Subject: Re: Removing sticky tag 'HEAD' in cvs
Date: Tue, 3 Jun 2003 11:45:34 -0400 (EDT)

Elijah P Newren writes:
> 
> At the risk of sounding really stupid (this has to have a simple
> solution), how do I remove the sticky tag of 'HEAD' from my files?

cvs update -a

> [And why is 'HEAD' a sticky tag in the first place?]

Because you did "cvs update -r HEAD".  Any time you update to a specific
revision, that revision becomes "sticky" in your working directory. 
It's not that the tag itself is sticky, rather that your working file is
stuck at that revision.

>  A quick 'cvs
> update -A' does _not_ seem to work.

That's because...

>   1019 address@hidden:fluid$ cvs update -A steps.txt
>   A steps.txt

This provides the critical piece of information -- the "A" indicates
that this is a new file that has been *added* with a sticky tag. 
"update -A" doesn't fix it because there's no corresponding file in the
repository to update with.  Unfortunately, I don't know of any good way
to fix it.  Probably the simplest thing to do is to temporarily rename
the file, "cvs remove" it, rename it back again and "cvs add" it (now
that your working directory no longer has a sticky tag, the file won't
get one either).

-Larry Jones

They say winning isn't everything, and I've decided
to take their word for it. -- Calvin




reply via email to

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