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.
If .hgignore contain a pattern starting with ^, e.g. ^nbbulid/netbeans Hgutils.isIgnored does not match this correctly.
The problem is that the matching is done against the absolute path name and not the path name relative to the location of the .hgignore directory.
Created attachment 58383 [details] proposed patch
In http://www.selenic.com/mercurial/bts/issue886 there is the statement that a "file is ignored if its path or the path of any of its subcomponents is matched by a pattern in .hgignore". HgUtils.isIgnored does not implement that.
Patch applied in changeset 73896:46a24feca988.
Created attachment 58679 [details] additional patch
Additional patch pushed in changeset 74440:ddf405473eeb.