This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Local diff can't handle encoding correctly. If file encoding is different from OS's native, character become ghost. This problem is not occured on Remote vs Local. And this problem may relate to following issue. http://www.netbeans.org/issues/show_bug.cgi?id=42638
Created attachment 34176 [details] screenshot of ghost character
the same was already fixed in cvs. should work the same way
wasn't fixed in cvs - must be fixed generally for versioning
*** Issue 106436 has been marked as a duplicate of this issue. ***
*** Issue 106448 has been marked as a duplicate of this issue. ***
*** Issue 106438 has been marked as a duplicate of this issue. ***
first part Checking in META-INF/services/org.netbeans.spi.queries.FileEncodingQueryImplementation; /cvs/versioncontrol/util/src/META-INF/services/org.netbeans.spi.queries.FileEncodingQueryImplementation,v <-- org.netbeans.spi.queries.FileEncodingQueryImplementation initial revision: 1.1 Checking in org/netbeans/modules/versioning/util/Utils.java; /cvs/versioncontrol/util/src/org/netbeans/modules/versioning/util/Utils.java,v <-- Utils.java new revision: 1.5; previous revision: 1.4 Checking in org/netbeans/modules/versioning/util/queries/DiffFileEncodingQueryImpl.java; /cvs/versioncontrol/util/src/org/netbeans/modules/versioning/util/queries/DiffFileEncodingQueryImpl.java,v <-- DiffFileEncodingQueryImpl.java initial revision: 1.1
fixed in svn http://versioncontrol.netbeans.org/source/browse/versioncontrol/util/src/META-INF/services/org.netbeans.spi.queries.FileEncodingQueryImplementation?rev=1.1&content-type=text/vnd.viewcvs-markup
fixed also for cvs, lost the commit output. sorry for that fixed
I can't get the left side of the local history to show now in any case - is there a separate problem with diff viewer ? (or am I not doing what is needed to have diffs shown ?) I have modified the java file, adding some lines, deleting others and saving but only get one result and thus only the right side of the viewer shows the current file, nothing on the left side. ken.frank@sun.com
hm, i didn't have this problem in last daily. what's your build?
build 0706 is what I am using. are there certain steps that need to be done to impact local history (vs any changes at all ?) ken.frank@sun.com
changing and save should be enough. how exactly looks the right side. could you attach a screenshot? thanks
i mean the left side, of course :)
attached is gif of left and right side - I have added lines, deleted lines, saved and also closed the file in editor and reopened it. but nothing shown on left side. ken.frank@sun.com
Created attachment 44840 [details] image
multibyte name of project or class or in comments does not impact this as per my last comment - it happens even if no mbyte in project/class name or text of the file. ken.frank@sun.com
any exceptions in your messages.log?
no exceptions in log.
ran in english locale - same problem
should a separate issue be filed ? ken.frank@sun.com
- yes. i need as much info about your setup as possible, attach also your messages.log file, please - do you get this with different files and with files which have more then one revision in the history? - did you try to change the selection in the view, by selecting different lines in the table? (It's enough to select the folder node specifying the day (today, 1 day ago, etc.) and then the node representing the actual file revision) thanks
reopening as per Tomas comments wrt to fix of 109216. (that the fix needs to rollback this fix) ken.frank@sun.com
my fault! the reopened issue wasn't this one but #105884. sorry for the confusion:( closing as this one should be ok.
verifying - see 106436 for details since these 2 appear to be duplicates. if problems seen now with any one versioning system, then separate issues can be filed. ken.frank@sun.com