cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

Bug 135672 - Mercurial support doesn't scan project for changes
: Mercurial support doesn't scan project for changes
Status: VERIFIED FIXED
: versioncontrol
Mercurial
: 6.5
: All Windows XP
: P2 (vote)
: TBD
Assigned To:
:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-05-23 10:39 by
Modified: 2008-10-20 08:02 (History)
Issue Type: DEFECT
:


Attachments
patch for commit (3.99 KB, patch)
2008-05-26 16:05, Padraig Obriain
Details | Diff
updated patch (25.09 KB, patch)
2008-05-30 16:12, Padraig Obriain
Details | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-05-23 10:39:18
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)
------- Comment #1 From 2008-05-23 10:52:29 -------
Please give a specific test case.

I am not sure I understand the description.
------- Comment #2 From 2008-05-26 10:30:16 -------
Are you referring to changes made outside the IDE?
------- Comment #3 From 2008-05-26 10:45:40 -------
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.
------- Comment #4 From 2008-05-26 14:38:18 -------
See http://www.netbeans.org/issues/show_bug.cgi?id=116104 for corresponding
work for Subversion.
------- Comment #5 From 2008-05-26 16:05:09 -------
Created an attachment (id=61929) [details]
patch for commit
------- Comment #6 From 2008-05-27 14:33:34 -------
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.
------- Comment #7 From 2008-05-29 12:17:48 -------
Well, IDE commit isn't even able to notice file was deleted from project using
IDE, only after restart of IDE...
------- Comment #8 From 2008-05-30 16:12:15 -------
Created an attachment (id=62177) [details]
updated patch
------- Comment #9 From 2008-06-20 15:34:02 -------
- 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
------- Comment #10 From 2008-10-20 08:02:03 -------
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)