Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 29164 - CVS synchronization problems
Summary: CVS synchronization problems
Status: RESOLVED DUPLICATE of bug 28551
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-VCM-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-08 15:19 EST by Somik Raha CLA
Modified: 2003-01-09 08:44 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Somik Raha CLA 2003-01-08 15:19:53 EST
Hi,
   I'm using Eclipse build 200212181304. We've been having major 
synchronization problems. When we check in stuff, we find that it does go in. 
But, when we try to synchronize another machine with the checked in stuff, it 
does not show up in the Incoming Mode - and says we have the latest stuff from 
the repository. However, going into CVS Repositories, and opening up the new 
stuff (a directory particularly causes problems but we've had problems with 
files as well), and using Check Out Into works.

Regards,
Somik
Comment 1 Michael Valenta CLA 2003-01-08 15:57:48 EST
I can not reproduce this. Does this problem still occur for you. If so, could 
you do the following on the machine that has the problem so that I can see the 
traffic between Eclipse and the CVS server.

1. Create a file named ".options" in you eclipse directory (the directory that 
contains the executable) that contains the following 2 lines that enable CVS 
debugging. 
		org.eclipse.team.cvs.core/debug=true
		org.eclipse.team.cvs.core/cvsprotocol=true
		
2. Start Eclipse with the following parameters tailored to you local setup (The 
below example is for windows). The important aspects are the use of java.exe 
instead of javaw.exe and the inclusion of the -debug and -consolelog options. 
These will cause the debug console to be visible and for debugging output to 
appear in the console. 
		C:\eclipse\eclipse.exe
		   -vm C:\jre\bin\java.exe
		   -data C:\eclipse\workspace
		   -debug
		   -consolelog
		
3. Inside Eclipse, perform the synchronize that fails to show the incoming 
changes. The CVS command traffic in the debug console should contains an 
invocation of the update command that looks something like (this is output from 
dev.eclipse.org): 
		CMD> cvs -n update -d "."
		...
		update
		...
4. Append the output to this bug report
Comment 2 Somik Raha CLA 2003-01-08 18:56:01 EST
Here's the contents of the CVS console when the synchronize failed:
***
cvs update -l -P "/ShoppingServerTests/resources/workshopData"
  cvs server: Updating resources/workshopData
ok (took 0:00.291)
***

A new directory had just been checked in from another machine, but it didnt 
show up when I tried synchronizing the project.

When I expanded the CVS Repositories explorer - and navigated to the newly 
checked in dir and checked it out into the correct directory, the cvs console 
showed :
***
cvs update -P "/ShoppingServerTests/resources/testData/temp"
  cvs server: Updating resources/testData/temp
  U resources/testData/temp/000100.xml
ok (took 0:00.551)
***

Regards,
Somik
Comment 3 Somik Raha CLA 2003-01-08 18:58:06 EST
To add to the above, I had attempted synchronization on the root project itself 
(which is completely checked in). However, the update seems to have been issued 
for an incorrect directory. That would probably be the bug.

Regards,
Somik
Comment 4 Michael Valenta CLA 2003-01-09 08:44:05 EST
The problem is that your project has the 'fetch absent or new directories' 
disabled (see bug 28551). To correct the problem perform the following steps:

1. Select the project in the Navigator or some other view.
2. USe the popup menu to view the project properties.
3. Select the CVS tab.
4. check the "fetch absent or new directories" option

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