info-cvs
[Top][All Lists]
Advanced

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

Re: Why should you want to remove sticky tags?


From: Kaz Kylheku
Subject: Re: Why should you want to remove sticky tags?
Date: Fri, 18 Jun 2004 13:08:06 -0700 (PDT)

On Fri, 18 Jun 2004, Anand Graves wrote:

> Date: Fri, 18 Jun 2004 21:48:55 +0200 (CEST)
> From: Anand Graves <address@hidden>
> To: address@hidden
> Subject: Why should you want to remove sticky tags?
> 
> When I'm reading articles/guides about CVS I notice that "removing sticky
> tags" is often talked about.
> 
> I don't understand why you want to remove a sticky tag.
> If (for example) you have files in a repository and they're
> ready/checked/validated for release 1, then you tag them all with rel-1-0.
> Why, in a further stadium, would I want to remove this tag?

That is not a sticky tag.

> Or perhaps I am confused about Tags and Sticky Tags.

A sticky tag is persistant state information stored in the local
sandbox which retains and automatically applies a revision argument
to a commit or update command. The sticky version can be numeric or
symbolic, or it can be a date.  The sticky state is recorded when an
update or checkout specifies a revision. It is cleared when you switch
to the trunk (update -A).

When there is no sticky tag, updates come from the main trunk (the
default branch), and commits go there. 

When there is a sticky branch tag, updates come from the branch and
commits go there.

When there is a sticky non-branch tag, updates do nothing, and commits
are blocked with an error message.

That's pretty much it!

-- 
Meta-CVS: the working replacement for CVS that has been stable for two
years.  It versions the directory structure, symbolic links and execute
permissions. It figures out renaming on import. Plus it babysits the kids
and does light housekeeping! http://freshmeat.net/projects/mcvs





reply via email to

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