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.
Build (from Hudson): Product Version: NetBeans IDE Dev (Build 20080303072759) Java: 1.6.0_10-ea; Java HotSpot(TM) Client VM 11.0-b11 System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb) Userdir: /usr/local/home/lahvac/userdir.nball.merge Each time I try to Show Annotations for a file (inside my NB repository), it ends up with the attached exceptions, and no revisions are show in the "annotations stripe". This is probably because my hg command prints some "informational" messages before it performs the given command. But, these messages seem to go to stderr, and the useful output (i.e. annotated file) goes to stdout, so it shouldn't be problem. I am also attaching stderr and stdout from hg annotate on a file.
Created attachment 57798 [details] Exceptions.
Created attachment 57799 [details] stderr
Created attachment 57800 [details] stdout
*** This issue has been marked as a duplicate of 129121 ***
novakm: are you absolutely positive this is a dupe of issue #129121?
Well, show annotations action does not work in any versioning system now, it was identified as a regression so I thought it is the cause of this issue. Most probably you are right that the exception is not connected with #129121. However, not displaying annotations at all definitely is. I would recommend to test after #129121 is fixed and reopen if the problem is still present.
AnnotateAction.toAnnotateLines() was changed to use regexp and make it a lot more robust, the same needs to be done for AnnotateAction.toHgLogMessages(), to avoid these exceptions. So will reopen this one to track the necessary changes.
Changes pushed: changeset: 70190:211b58f3dc2d user: jrice@netbeans.org date: Wed Mar 05 13:56:08 2008 +0000 files: mercurial/src/org/netbeans/modules/mercurial/ui/annotate/AnnotateAction.java mercurial/src/org/netbeans/modules/mercurial/ui/annotate/AnnotationBar.java mercurial/src/org/netbeans/modules/mercurial/ui/log/HgLogMessage.java mercurial/src/org/netbeans/modules/mercurial/util/HgLogMessage.java description: #129263: rework annotation code to share common HgCommand getLogMesssages