Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 28290

Summary: cannot reestablish connection to new CVS repository
Product: [Eclipse Project] Platform Reporter: raghu havaldar <raghu.havaldar>
Component: TeamAssignee: Platform-VCM-Inbox <platform-vcm-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: P3    
Version: 2.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description raghu havaldar CLA 2002-12-13 13:52:45 EST
I am attempting to disconnect from one CVS repository and connect
to a new one. On disconnection, I choose the option to delete the
meta info (i.e. CVS folders). On connection (to the new repo), all
the files in my local sandbox appear as if they do not exist remotely
(in the repo). Eclipse displays an option to commit them. Instead,
it should have 'synced' w/ the new repo.

The way I get around it, is create a backup, do an 'update' with the
new repo. Of course, the update wipes out everything from my sandbox,
and I have to repeat the update to refetch the files.

Think, the entire connect, disconnect, and connect (to new repo) is
broken. This process needs to be revisited.

Thanks !
Comment 1 Michael Valenta CLA 2002-12-13 15:37:57 EST
You say "On connection (to the new repo), all the files in my local sandbox 
appear as if they do not exist remotely (in the repo).". This is what normally 
happens when you share a project with a new repository unless the repository 
already has a project of the same name in which case Eclipse will warn the user 
of the situation and try to do it's best (which admittedly could be improved 
but is already above and beyond what CVS itself provides). Are you saying that 
the project should already exist in the new repository? If so, files will 
either be marked as outgoing additions (if no corresponding file exists 
remotely) or as conflicting additions. 

If this is the case you are experiencing then, yes, Eclipse support could be 
improved and we are currently investigating the possibilities. If you are 
experiencing some other problem, please describe the situation in more detail.
Comment 2 Michael Valenta CLA 2003-01-07 11:19:14 EST

*** This bug has been marked as a duplicate of 21612 ***