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.
We need to use Sharebility Query to recognize which files have to be versioned.
SharabilityQuery is quite simple. Contains only two methods. According to Martin Entlicher's proposal there might be patterns usage considered.
The SharabilityQuery is used instead of important flag provided to FileSystem through markUnimportant() and markImportant() methods. FileObjectImportantness interface removed, since it's not necessary any more. Also VCS actions are not presented on not-sharable files and folders, unless "process all files" property is set. Fixed in trunk: /cvs/vcscore/src/org/netbeans/modules/vcscore/DefaultVcsFactory.java,v <-- DefaultVcsFactory.java new revision: 1.18; previous revision: 1.17 Checking in VcsFileSystem.java; /cvs/vcscore/src/org/netbeans/modules/vcscore/VcsFileSystem.java,v <-- VcsFileSystem.java new revision: 1.258; previous revision: 1.257 Removing FileObjectImportantness.java; /cvs/vcscore/src/org/netbeans/modules/vcscore/FileObjectImportantness.java,v <-- FileObjectImportantness.java new revision: delete; previous revision: 1.1 Checking in cache/CacheReference.java; /cvs/vcscore/src/org/netbeans/modules/vcscore/cache/CacheReference.java,v <-- CacheReference.java new revision: 1.10; previous revision: 1.9 Checking in objectintegrity/VcsObjectIntegritySupport.java; /cvs/vcscore/src/org/netbeans/modules/vcscore/objectintegrity/VcsObjectIntegritySupport.java,v <-- VcsObjectIntegritySupport.java new revision: 1.15; previous revision: 1.14 done