[Top][All Lists]

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

Re: Removing sticky tag 'HEAD' in cvs

From: Elijah P Newren
Subject: Re: Removing sticky tag 'HEAD' in cvs
Date: 03 Jun 2003 10:46:14 -0600

On Tue, 2003-06-03 at 09:45, Larry Jones wrote:
> > [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.

Ah.  So the cvsbook at is wrong (or at least
misleading).  It said the following:
   If you want to return to the trunk, just run this
      cvs update -r HEAD
   or this
      cvs update -A
   from the top directory.
So I thought the two were synonymous (i.e. I thought -r would only give
a sticky tag if it was used to update to an old version or tag).  Should
I try to find the author's email address and send him a note?

> "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).

Wahoo!  That worked.

> -Larry Jones

Thanks for the fast response!  The free software world never ceases to
amaze me...


Elijah Newren
Internet:   address@hidden
Tired of pop-up webpages when surfing the internet?  Look at
for how to get rid of them without spending a penny.

reply via email to

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