Bug 31930 - [CVS Sync View] Sync not detecting when files are stale and need to be refreshed M5
Summary: [CVS Sync View] Sync not detecting when files are stale and need to be refres...
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M2   Edit
Assignee: Platform-VCM-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate, readme
Depends on:
Blocks:
 
Reported: 2003-02-14 18:49 EST by ryan CLA
Modified: 2003-06-16 22:31 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ryan CLA 2003-02-14 18:49:17 EST
Using eclipse M5, I can edit a file outside of eclipse, save it, then do a 
synchronize outgoing changes and it will not detect that the file needs to be 
refreshed. Previous versions (M3 for sure did) would detect this and refuse to 
sync until you refreshed.
Comment 1 Kevin McGuire CLA 2003-02-17 17:09:38 EST
We now cache dirty folder detection (for performance) so its possible we don't 
notice this case anymore.  However, as a general rule one should 
always "Refresh" a project that has been edited outside of eclipse, since 
other workspace state will be out of sync as well.

JM, please investigate.  At a minimum we should ensure that we detect the 
changes in "Refresh" (I believe this works).  
Comment 2 ryan CLA 2003-02-17 20:37:43 EST
If I do a refresh before doing a sync it works as expected. If nothing else, 
allow the user to specify they want to automatically preform a refresh before  
every sync.
Comment 3 Jean-Michel Lemieux CLA 2003-04-14 12:40:19 EDT
Should ensure that IResource::getContents() throws an exception if file is out
of sync with file system.
Comment 4 Jean-Michel Lemieux CLA 2003-06-16 22:31:22 EDT
The new sync view (a.k.a live synchronize) will work with the basic refresh
action. There will no longer be a "synchronize with remote" action and sync
changes will always be updated in the view.

Marking as won't fix.