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.
Product Version: NetBeans IDE 6.0 RC1 (Build 200711160000) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Userdir: D:\ide\60daily\user Steps: 1. Create new project. 2. Select project root and invoke "Versioning | Initialize Mercurial repository" action. 3. Invoke "Mercurial | Show Status" action on project root. 4. Push Diff button from the Status - Mercurial view. 5. From the Diff panel push "Commit" button. Commit all changes. Status view is refreshed, but diff panel table that lists modified files is not.
It's a general problem, I've found another scenario. If the file is modified and diff panel is opened diff table is not refreshed automatically.
Created attachment 53125 [details] proposed patch
The diff code for mercurial is essentially a copy of the code for Subversion. For subversion when a file changes a VersioningEvent is fired. For mercurial when a file changes a PropertyChangeEvent is fired. The change is to listen for the correct event.
Patch committed to CVS HEAD. IDE:------------------------------------------------- IDE: [11/19/07 11:57 AM] Committing "MultiDiffPanel.java" started Checking in MultiDiffPanel.java; /shared/data/ccvs/repository/versioncontrol/mercurial/src/org/netbeans/modules/mercurial/ui/diff/MultiDiffPanel.java,v <-- MultiDiffPanel.java new revision: 1.2; previous revision: 1.1 done IDE: [11/19/07 11:58 AM] Committing "MultiDiffPanel.java" finished
Verified.