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.
For VCS profiles that don't use revision numbers in the form "x.y", the revision numbers for the tooltip and the editor tab (if the file is opened) are incorrect. In both cases, it is because the method getRevision() is used instead of getRevisionVCS(). The affected module to fix the tooltip is RevisionNode.java and for the editor tab it is RevisionEditorSupport.java. Both are 1 line fixes.
Created attachment 8171 [details] Patch file generated by cvs diff for RevisionNode.java
Created attachment 8172 [details] Patch file generated by cvs diff for RevisionEditorSupport.java
Maxym, do you agree with adding this into 3.4.1? It seems, that this is necessary for 3rd party VCS profiles. The patch is trivial and should not cause any problems.
Do I agree or not is NOT an issue. If it's a BUGFIX, feel free to include it into 3.4.1 codebase (after reviewing). BTW: What 3rd party VCS profiles are under attack ;-) ? Sincere Max
Fixed in the main trunk and release341 branch. /cvs/vcscore/src/org/netbeans/modules/vcscore/versioning/RevisionEditorSupport.java,v <-- RevisionEditorSupport.java new revision: 1.3.100.1; previous revision: 1.3 /cvs/vcscore/src/org/netbeans/modules/vcscore/versioning/RevisionNode.java,v <-- RevisionNode.java new revision: 1.10.52.1; previous revision: 1.10
Martin, easy fixing, isn't it?;-) Isn't it what hurt us for long time....? verified only on DEV. OK on NetBeans IDE Dev (Build 200301240100)