[Top][All Lists]

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

Re: sticky tag.

From: Garth Webb
Subject: Re: sticky tag.
Date: Fri, 27 Oct 2000 10:58:07 -0700 (PDT)

On Fri, 27 Oct 2000, Jody Brownell wrote:

> When I checkout a copy of the source (cvs co -A -r PRE_MERG_REPOS)
> from a given tag, when using the -A option. Shouldn't the sticky tags
> be removed?

Yes, but not when you give it the sticky option '-r'.  You are giving an
'add sticky tag' and 'remove sticky tag' options at the same time.
        There is no way to remove sticky tags without updating the file to
the latest version.  What you can do, though, is this:

$ cvs co -A
$ cvs update -r PRE_MERGE_REPOS -p >
$ cvs commit

First this checks out your files and removes sticky tags.  Then the
update retrieves the tagged version and sends it to standard out (the -p
tag) which does not affect the current working copy or its 
stickyness.  However you redirect STDOUT to overwrite your working copy of
this file.  You then commit these changes.


reply via email to

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