FaqSubversionSlowOpening

Why does it take such a long time when opening a versioned folder?

When i try to open a versioned folder the IDE freezes for a long time.

The Subversion module automatically ignores files according to the IDE Configuration > System > System Settings > Ignored Files property in the Advanced Options window (Tools > Options > Advanced Options from main menu). When a folder containing such files is opened for the first time, an action is triggered to set the svn:ignore property.

Because of a bug covered by Issue 120582 this may last a significantly long time for folders with many files.

A simple workaround is to tweak the global-ignores setting in the Subversion command line client config file. This file is located:

  • On Windows systems: %APPDATA%\Subversion\config
  • On Unix systems, including Macintosh: $HOME/.subversion/config>

Open this file and edit the global-ignores setting in the miscellany section so that it contains a file pattern covering the files you want to be ignored.

e.g.:

[Miscellany]
### Set global-ignores to a set of whitespace-delimited globs
### which Subversion will ignore in its 'status' output, and
### while importing or adding files and directories.
global-ignores = *.class *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo