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.

View | Details | Raw Unified | Return to bug 129781
Collapse All | Expand All

(-)a/mercurial/src/org/netbeans/modules/mercurial/util/HgUtils.java (-1 / +2 lines)
Lines 317-323 public class HgUtils { Link Here
317
        // We assume that the Project should not be ignored.
317
        // We assume that the Project should not be ignored.
318
        if(file.isDirectory()){
318
        if(file.isDirectory()){
319
            ProjectManager projectManager = ProjectManager.getDefault();
319
            ProjectManager projectManager = ProjectManager.getDefault();
320
            if (projectManager.isProject(FileUtil.toFileObject(file))) {
320
            FileObject fileObj =  FileUtil.toFileObject(file);
321
            if (fileObj != null && projectManager.isProject(fileObj)) {
321
                return false;
322
                return false;
322
            }
323
            }
323
        }
324
        }

Return to bug 129781