Bug 24887 - [CVS Sync View] automatically switch to timestamp comparison in sync view if tree is empty
Summary: [CVS Sync View] automatically switch to timestamp comparison in sync view if ...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 2.0.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M8   Edit
Assignee: Jean-Michel Lemieux CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2002-10-17 03:22 EDT by Jed Wesley-Smith CLA
Modified: 2004-03-22 20:12 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 Jed Wesley-Smith CLA 2002-10-17 03:22:59 EDT
when a new revision of a file was checked in to CVS that had no changes to the 
one locally, I got a conflict reported, but no file showed up in the Sync 
browser.

The status line said (1 conflict, no incoming changes, no outgoing changes, no 
new resources.), but I could not identify the file. Eventually, by elimination, 
I hunted it down to a file that turned out to be identical in the local 
workspace to the remote revision, but the remote one was a revision later.

Not a very serious bug, but an annoying one...
Comment 1 Dave Neary CLA 2003-02-18 11:01:34 EST
Just to confirm this bug - I see the same thing here.

Cheers,
Dave.
Comment 2 Jean-Michel Lemieux CLA 2003-03-04 14:09:22 EST
This is because "compare file contents" is on by default in the sync view. If
you uncheck the option "e.g. it's in the drop down menu of the synchronize view)
the conflict will appear.

For future, it would be nice to automatically turn off the option if the sync
view is empty *but* there are actually timestamp changes.

Won't be in 2.1 though. I also changed the title of the bug.
Comment 3 Jed Wesley-Smith CLA 2003-03-04 18:19:49 EST
Not sure if this (Jean's analysis) is the most desirable behaviour. If you sync 
on the offending file exclusively, you get the message "Workspace resources are 
same as remote" or somesuch, which is ideal as you can then replace the file 
with the CVS version, or commit it if you really want to. My gripe with the 
behaviour in the original report was that there is a difference between the 
browser and the status line that was far from obvious, which wasted the users 
time analysing why.

Personally I would prefer it that if "content comparison" is on, for the 
identical file to be dropped from the comparison list, or maybe put into a 
separate bucket where the user can decide whether they want the files replaced 
or committed.
Comment 4 Michael Valenta CLA 2004-03-22 20:12:32 EST
This is now handled properly in compare (i.e. the file does not show up in the 
compare or the status line).