Bug 22570

Summary: [CVS UI] Tags in the list of versions does not exist in CVS
Product: [Eclipse Project] Platform Reporter: mobilae <studnev>
Component: TeamAssignee: Platform-VCM-Inbox <platform-vcm-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 Keywords: investigate
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description mobilae CLA 2002-08-20 09:09:05 EDT
Problem is that list of versions is not in sync
with CVS. For example, Eclipse permits to set tag on 
the project which is not yet added to CVS. This results
after that in the error "No such tag..." when trying to
operate with this tag.

Eclipse adds the tag in the internal list (cache?) while
no file in CVS is tagged with this tag.

Here are detalized steps to see the problem. 
1. Create New project
2. In right click menu Team->Share project
3. In right click menu Team->Commit...
4. In right click menu Team->Tag as Version...
5. Check out if version is in CVS repository
6. Make any changes in project
7. In right click menu Replace With->Branch or Version...

Error appears:
Error replacing with tag
Reason:
... no such tag ...
Comment 1 Michael Valenta CLA 2002-08-26 09:27:28 EDT
The above steps work fine for me. Is there anything in the .metadata/.log file 
in your workspace directory? If you expand the in the Repositories view, does 
it have any contents? 
Comment 2 mobilae CLA 2002-08-26 09:57:25 EDT
Problem happens when you setup a tag on project that is not yet commited to CVS.
I tried steps one more time and it shows error on the end that tag does not 
exist.
Maybe this error message is what assumed during this operation,
but this is not unclear to user. User set version on project successfully and
then he can not checkout project
by that tag.
Comment 3 Michael Valenta CLA 2004-11-08 21:51:37 EST
This is the behavior of CVS