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.
org.netbeans.modules.subversion.SubversionVCS
<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.1//EN" "http://www.netbeans.org/dtds/filesystem-1_1.dtd">
<filesystem>
<folder name="Services">
<file name="org-netbeans-modules-subversion-SubversionVCS.instance">
<attr name="instanceCreate" methodvalue="org.netbeans.modules.versioning.spi.VersioningSystem.create"/>
<attr name="path" stringvalue="[\._]svn"/>
<attr name="real" stringvalue="org.netbeans.modules.subversion.SubversionVCS"/>
</file>
</folder>
<folder name="Actions">
<folder name="Subversion">
<file name="org-netbeans-modules-subversion-ui-status-OpenVersioningAction.instance">
* Protected constructor, does nothing.
*/
protected VersioningSystem() {
}
static VersioningSystem create(Map map) {
String name = (String)map.get("real");
String path = (String)map.get("path");
return null;
public static VersioningSystem create(final Class<? extends VersioningSystem> real, final String path) {
return new VersioningSystem() {
VersioningSystem instance;
@Override
public void getOriginalFile(File workingCopy, File originalFile) {
super.getOriginalFile(workingCopy, originalFile);
public File getTopmostManagedAncestor(File file) {
for (;;) {
if (new File(file, path).exists()) {
return file;
file = file.getParentFile();
public VCSAnnotator getVCSAnnotator() {
if (instance == null) {
instance = real.newInstance();
return instance.getVCSAnnotator();
public VCSInterceptor getVCSInterceptor() {
return super.getVCSInterceptor();
};
/**