Why should you want to remove sticky tags?

2004-06-18 Thread Anand Graves
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?

Or perhaps I am confused about Tags and Sticky Tags.

Anand


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


RE: Why should you want to remove sticky tags?

2004-06-18 Thread Carucci, Jason
Because you won't be able to change the file until the sticky tag is
removed.  A sticky tag means you have the file checked out on a particular
tag.  When you want to make changes they have to be on the HEAD or a branch.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Anand Graves
Sent: Friday, June 18, 2004 3:49 PM
To: [EMAIL PROTECTED]
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?

Or perhaps I am confused about Tags and Sticky Tags.

Anand


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Why should you want to remove sticky tags?

2004-06-18 Thread Kaz Kylheku
On Fri, 18 Jun 2004, Anand Graves wrote:

> Date: Fri, 18 Jun 2004 21:48:55 +0200 (CEST)
> From: Anand Graves <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> 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



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Why should you want to remove sticky tags?

2004-06-18 Thread Paul Sander
I think there are two aspects to the "removing sticky tags" issue:
- Removing tags
- Removing the "stickiness" of tags

Removing tags is desirable to clean up the output of "cvs log" if a lot
of temporary tags are created.  An example of this is when built sources
are labelled after every build, and most builds (e.g. nightly builds)
are disposable.

Removing stickiness is desirable if you expect "cvs update" (without -r or
-A) to bring your workspace up to date after checking out with a version tag.
But this is really only true if the local process doesn't used floating tags.

Using floating tags means that the tags themselves move.  Doing a
"cvs update" (without -r) brings a workspace up to date with respect to
the tags, copying out the newly tagged versions.  In this case, the sticky
behavior is needed so that the tags aren't forgotten between updates.

I personally would like to see stickiness of version tags be removed,
because it's harder to bring a branch up to date in their presence than
to give -r when using floating tags in the absence of stickiness.

Note that this all applies to tags that identify versions, not to tags that
identify branches.  Branch tags really need to be sticky.

--- Forwarded mail from [EMAIL PROTECTED]

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?

Or perhaps I am confused about Tags and Sticky Tags.

--- End of forwarded message from [EMAIL PROTECTED]



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs