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.
Versioning systems often try to autodetect versioned files and folders by scanning the filesystem for versioning metadata (CVS, .hg, etc.) In some cases, this scan causes excessive delays because OS tries to mount the requested folder. For example, while testing whether "/net/projects/myproject/a.txt" is versioned the CVS module eventually tests for the existence of "/net/CVS" which causes the OS (automount) to start looking for the "CVS" server. This test takes up to a minute with full system load under some systems. While the OS is to blame here it seems we have to put a workaround in the IDE too.
Targetting for 6.0.
*** Issue 105199 has been marked as a duplicate of this issue. ***
This cannot be resolved on the versioning manager (VM) level because of the call to versioningSystem.getTopmostManagedAncestor(File). During this call, a VS scans the directory tree up until it finds its metadata or hits the root. So, the solution would be to either: 1) stop at some well-know directory level (/net for example) 2) track time it takes to query a directory and never query that again if it takes too long We have two bad options to choose from, I'll try the first one first to see if it resolves the issue.
You can define list of unversioned folders (such as /net) in the IDE configuration now. Edit (or create) file "userdir/config/Preferences/org/netbeans/modules/versioning.properties" and add the "unversionedFolders" property which can contain semicolon-separated list of folders that should not be automatically scanned for versioning metadata, for example: unversionedFolders = /net Note that those folders will be excluded from all versioning operations, recursively. /shared/data/ccvs/repository/versioncontrol/mercurial/src/org/netbeans/modules/mercurial/Attic/Mercurial.java,v <-- Mercurial.java new revision: 1.1.2.31; previous revision: 1.1.2.30 /shared/data/ccvs/repository/versioncontrol/util/src/org/netbeans/modules/versioning/util/Utils.java,v <-- Utils.java new revision: 1.6; previous revision: 1.5 /shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/CvsVersioningSystem.java,v <-- CvsVersioningSystem.java new revision: 1.76; previous revision: 1.75 /shared/data/ccvs/repository/subversion/main/src/org/netbeans/modules/subversion/Subversion.java,v <-- Subversion.java new revision: 1.94; previous revision: 1.93
*** Issue 118245 has been marked as a duplicate of this issue. ***
*** Issue 166781 has been marked as a duplicate of this issue. ***