1) When some change is made in project, plugin see it only if accodring file/folder is opened in Project/File view. So
invoking Mercurial -> Commit list only files, which have been viewed.
2) Because plugin doesn't scan project for chnages, it does show even deleted files, and this can't be resolved even by
closing/opening the project, only by restart by IDE (and because no files are opened yet, we get the #1 case)
Please give a specific test case.
I am not sure I understand the description.
Are you referring to changes made outside the IDE?
Yes, but IDE support for CVS/SVN scan project folders, when you use commit on project. Even if file is changed, or
deleted outside of IDE, CVS/SVN support changes commit list appropriately, but Mercurial support doesn't.
See http://www.netbeans.org/issues/show_bug.cgi?id=116104 for corresponding work for Subversion.
Created attachment 61929 [details]
patch for commit
This will have a significant performance impact when you go to do a commit against a repository with a large number of
changes made outside of the IDE, but there is nothing we can do about it.
Well, IDE commit isn't even able to notice file was deleted from project using IDE, only after restart of IDE...
Created attachment 62177 [details]
- applied the patch provided by padraig - 4a40bf7f5977 - should solve the originally reported problem with not recognized external changes.
> Well, IDE commit isn't even able to notice file was deleted from project using IDE, only after restart of IDE...
can't reproduce. could you please elaborate? if possible in a separate issue as this seems to be a different problem. thanks
the solution indeed has impact also on situation where a deep status refresh isn't needed. We should reconsider a easy way to switch it off - filed a new
issue to cover it - #137826
Product Version: NetBeans IDE 6.5 RC1 (Build 200810171318)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b15
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Verified on 6.5 RC1 (the original issue)