[cvsnt] Why is cvs update -A -r tag not possible?

Oliver Giesen ogware at gmx.net
Tue Jun 24 10:36:29 BST 2003


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


> Is this right: If I update my working directory by a static tag, there
> is no way
> to remove sticky tags (even not with the -A option).

Sure you could remove the sticky tag with the -A option. However, what
update -A really does is retrieve the tip of the trunk. Thus, in your
scenario you're not guaranteed to have the same revision in your sandbox as
before as the sticky revision you used before might no longer be the HEAD
revision (i.e. tip of the trunk).


>If I made changes
> on my
> local copy and want to commit it back to the repository, first I have to
> create
> a branch, commit on that and later merge back to the main trunk.

Not necessarily, if the tagged revision already is the HEAD revision you
could commit right away after removing the sticky tag. If it is not then
yes, you would either have to create a branch first or merge your local
changes with the HEAD revision (which happens automatically when you do
update -A on a locally modified file). Did you read that FAQ entry I posted
in reply to your last post? It's all described in there.


> Why is cvs update -A -r <static_tag> not possible?

What would you expect it to do? It's a contradiction in itself. Update -A
means "remove sticky" while update -r essentially means "make sticky"
(unless the specified tag/rev is indeed a branch).

Hope this helps.

Oliver
---- ------------------
JID: ogiesen at jabber.org
ICQ: 18777742
      (http://wwp.icq.com/18777742)



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook