Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Eclipse, my Compare dialog does not show differences between files, if I compare two folders or revisions.
For example the text file ant (without an extension) is not compared well.

There are no differences shown but the file is listed in the folder structure above.

Compare Dialog

What could be the reason for this behaviour? Is there something wrong with the settings or with this ant file?

It makes the directory compare completely useless.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Is it possible that the only thing that changed between the two revisions is whitespace and you have configured the compare feature to ignore whitespace?

If it's not that, then it's probably just the svn plugin having some sort of hiccup (it's somewhat buggy); maybe try closing and reopening the project and see if the problem persists.

share|improve this answer
    
It was not the SVN plugin, but the white space. –  guerda Aug 5 '09 at 7:37

This works for me in Ganymede (3.4.0).

What confuses me is: You write that you compare two folders but your screenshot looks as if you compare different revisions of the same file. There is Local and Rev:-1 where plain file paths should be.

share|improve this answer
    
Yes, it's correct, I compared two revisions. -- My problem with "Show Content Comparison" is that it says "no differences" even if there are differences. –  guerda Aug 4 '09 at 8:44
    
Are you sure you are not comparing identical files because the Local file is identical to Rev:-1? Is there a situation where compare works as expected or does this happen all the time with all files? –  Ludwig Weinzierl Aug 4 '09 at 9:08
    
The problem is that it is identical. But Eclipse does show it in the upper file tree. That is not normal if the files are equal. –  guerda Aug 4 '09 at 9:40
    
Ah, I understand now. I have this effect also sometimes. It always helped to select the file and Refresh(F5) it. In fact I have to do Refresh quite often when I work with Eclipse. Maybe you also have to resynchronize with the repository. –  Ludwig Weinzierl Aug 4 '09 at 10:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.