Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 24151 - Problem with the CVS synchonize feature and CVS NT
Summary: Problem with the CVS synchonize feature and CVS NT
Status: RESOLVED DUPLICATE of bug 19692
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 2.0.1   Edit
Hardware: PC Windows 2000
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Platform-VCM-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-26 12:30 EDT by Erik Reuter CLA
Modified: 2002-09-27 09:18 EDT (History)
0 users

See Also:


Attachments
The window shown when synchronization fails. (6.85 KB, image/gif)
2002-09-26 12:33 EDT, Erik Reuter CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Reuter CLA 2002-09-26 12:30:33 EDT
The synchronize feature reports the following problem trying to synchronize a  
project where the repository files are changed/newer: "error fetching file 
revisions". It then lists all the files with changes in a below window. 
Synhronizing a single file results in: "!MESSAGE An error has occurred 
processing file 'C:/cvs/rep/Test/test.txt 1.2'" in the .log file.

The problem has been observed using CVS for NT 1.11.1.3 build 57i and 
eclipse "M1" (between 2.0.1 and 2.0.2) for Windows 2000.

To generate the problem, try the following procedure:

- Start 2 instances of Eclipse (on the same or different machines)
- Create a simple project in instance 1 and a file, e.g.: "test.txt" with some 
basic text content.
- Share this project to the repository using the project name.
- Checkout the project in instance 2 as a project with the same name.
- Change the "test.txt" file in instance 1 and run "team -> synchronize with 
the repository", complete the synchronization.
- Now, run "team -> synchronize with the repository" from instance 2 and the 
failure occurs.

A final note:
The log states the following:
"!MESSAGE Host 'localhost' is running CVS NT (version 1.11.1.3) which is not 
fully supported. However, most functionality is available."
Eclipse V1.0 supported this feature (using IBM Application Developer) where the 
synchronize view works flawlessly. We really depend on the synchronize feature 
working in eclipse2, as this helps give the developers a nice view over the 
changes to projects working in teams.
Comment 1 Erik Reuter CLA 2002-09-26 12:33:04 EDT
Created attachment 2067 [details]
The window shown when synchronization fails.
Comment 2 Michael Valenta CLA 2002-09-26 12:37:39 EDT
We've seen this error before when the server has been configured to use 
repository prefixes. Is your server configured to use a repository prefix (i.e. 
does the path you specify in Eclipse look like D:\cvs\root or /cvs/root)?
Comment 3 Erik Reuter CLA 2002-09-26 15:51:43 EDT
You're absolutely right....

I did a test with full paths specified (D:/cvs/blah) and followed the
"procedure" i originally described, the issue went away.

Thanks.

The reason why I prefer prefixes, is that we have the freedom to reorganize the
content on the server, if need be - the unix-like repository indication is alot
nicer changewise than full windows drive+path specification.

Is this a "bug" in CVS for NT (due to a deviation from unix CVS) or just
something that Eclipse does not support?

If it's not supposed to work, there should be a mention regarding this in
Eclipse release notes somewhere (so others dont make the same mistake as I).

Close this bug if Eclipse is "working as designed" with this behaviour.
Comment 4 Michael Valenta CLA 2002-09-27 09:18:46 EDT

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