I've had this same problem too about a month ago. It was a major pain to work out how to fix.
Given what HEAD means, it should never make sense to run: cvs up -rHEAD and it should always make sense to use: "cvs up -A" instead. Given that, can the "up -r" option refuse to take "HEAD" as a tag? HEAD is already a 'magic' tag so it's not as if this will cause CVS to lose generality. If one of the cvs maintainers is listening, can this be put on the wish list? Thanks, Matthew Herrmann -------------------------------------- VB6/SQL/Java/CVS Consultancy Far Edge Technology http://www.faredge.com.au/ ------------------------------ Date: Tue, 3 Jun 2003 11:45:34 -0400 (EDT) From: [EMAIL PROTECTED] (Larry Jones) To: [EMAIL PROTECTED] (Elijah P Newren) Cc: [EMAIL PROTECTED] Subject: Re: Removing sticky tag 'HEAD' in cvs Message-ID: <[EMAIL PROTECTED]> In-Reply-To: <[EMAIL PROTECTED]> from "Elijah P Newren" at Jun 03, 2003 09:18:10 AM Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: list Message: 5 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 [EMAIL PROTECTED]: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 ------------------------------ _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs End of Info-cvs Digest, Vol 7, Issue 4 ************************************** _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs