Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350570 - Compare with Revision or URL broken
Summary: Compare with Revision or URL broken
Status: CLOSED DUPLICATE of bug 326694
Alias: None
Product: Subversive
Classification: Technology
Component: UI (show other bugs)
Version: 0.7   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Igor Burilo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-28 09:01 EDT by Artur Kronenberg CLA
Modified: 2015-12-27 16:31 EST (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 Artur Kronenberg CLA 2011-06-28 09:01:03 EDT
Hi,

I've seen some weird inconsistent behavior with the compare with functionality in subversive. This is the scenario:

You have a different branch that you want to compare a whole project with. You right click on the project and select Team->"Compare with Revision or URL" and specify the URL your other branch is located.

The result is a list of every file in the project marked with a + with the exception of direct children in the hierarchy. So image this project:

-PROJECT
---src
------file1.java
------file2.java
---file3.properties

If you compare this, it'll show you, that file1 and file2 are not existing and they will be decorated with a +.
file3 will be shown correctly with the differences.

If you perform the same action on the src folder, file1 and file2 will be shown correctly. So there's a problem with the hierarchy i guess.

So this bug shows a screenshot of how the compare editor looks like for the failure:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=246495

here's the screenshot:

https://bugs.eclipse.org/bugs/attachment.cgi?id=111917

Note the "Cannot compare..." comment in the compare editor. this only happens with files further down in the hierarchy then direct children.
Comment 1 Artur Kronenberg CLA 2011-06-29 05:40:25 EDT
I realize that this bug is a little bit weird to reproduce so if you can point me to the class that handles comparison for files, I can try and debug the problem.
Comment 2 Alexander Gurov CLA 2012-02-28 13:30:19 EST
The bug #246495 does not seem to be related and it was fixed recently. I tried many times bu still wasn't able to reproduce this one issue. So if there is anything helpful you could think of I'll really appreciate your help in tracking down the issue. Or is it that the issues were really related? Then could you please check if the issue exists with the latest Subversive build or not?

Thank you in advance.
Comment 3 Alexander Gurov CLA 2015-12-27 16:31:26 EST

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