Community
Participate
Working Groups
N20060529-0010 Create or find a text file that is checked into CVS as a binary file. Open the file in the text editor and choose context menu > Team > Show Annotation. A dialog asks whether you want to annotate the binary file. Say Yes. => expected: annotations should be shown in change bar (if that's the preference) => was: annotations only shown in Annotate view in CVS Repositories perspective
An example for such a file is /org.eclipse.pde.ui/plugin.xml from HEAD.
Created attachment 61826 [details] Not a patch In this attachment there is a couple of changes, that seems to fix the bug. But I am not sure, if it is does not introduce another bugs. Also, Annotations of remote files does not work well for me. Michael, could you verify that (patch & annotations behavior) and eventually give me some hints?
Actually, I think the provided patch is fine. We have code higher up that prompts to warn the user that some of the selected files are marked as binary and we have code lower down that will revert to using a text editor if the default editor is not a text editor. Therefore, the binary checks that you commented out are the right ones to remove. Patch released.
Verified in I20070501-0010