SVN 1.7 plugin to be updated; JavaHL only in internal mode
authorirengrig <Irina.Chernushina@jetbrains.com>
Wed, 1 Feb 2012 07:16:57 +0000 (11:16 +0400)
committerirengrig <Irina.Chernushina@jetbrains.com>
Wed, 1 Feb 2012 07:16:57 +0000 (11:16 +0400)
plugins/svn4idea/src/META-INF/plugin.xml
plugins/svn4idea/src/org/jetbrains/idea/svn17/SvnConfigurable.java

index b79bdeeb4c2228b60524ef97c8c88864b293bfd4..64653a3b78f4eb45e422b2dbc074e3c6e24da1d1 100644 (file)
@@ -1,18 +1,18 @@
 <idea-plugin version="2">
   <name>Subversion 1.7 Experimental Integration</name>
   <id>Subversion 1.7</id>
-  <version>1.0</version>
+  <version>1.0.1</version>
   <category>VCS Integration</category>
+  <idea-version since-build="111.275" until-build="112.999"/>
+  <change-notes>Version 1.0.1 - Added an option for a status operation to be executed with command line client. (for performance reasons)</change-notes>
   <description>This plugin provides only basic support for Subversion 1.7.
-       Many operations are not implemented.
+       Some operations are not implemented.
        Subversion 1.7 integration is not ready yet.
        We do NOT guarantee data safety and consistency.
        Also, we do NOT guarantee that plugin correctly works with Subversion 1.6 and lower working copies!</description>
   <depends>com.intellij.modules.vcs</depends>
-
   <vendor logo="/general/ijLogo.png">JetBrains</vendor>
   <resource-bundle>org.jetbrains.idea.svn17.SvnBundle17</resource-bundle>
-
   <project-components>
     <component>
       <implementation-class>org.jetbrains.idea.svn17.SvnFileUrlMappingImpl17</implementation-class>
index 086a730d6c9c6ce75707041a009141ac46d93e61..414b4c9cff9d91e2b56ef4664957012473bad9ec 100644 (file)
@@ -18,6 +18,7 @@
 package org.jetbrains.idea.svn17;
 
 import com.intellij.ide.util.PropertiesComponent;
+import com.intellij.openapi.application.ApplicationManager;
 import com.intellij.openapi.application.ApplicationNamesInfo;
 import com.intellij.openapi.fileChooser.FileChooser;
 import com.intellij.openapi.fileChooser.FileChooserDescriptor;
@@ -154,6 +155,10 @@ public class SvnConfigurable implements Configurable {
     bg.add(myNoAcceleration);
     bg.add(myJavaHLAcceleration);
     bg.add(myWithCommandLineClient);
+    final boolean internal = ApplicationManager.getApplication().isInternal();
+    myJavaHLAcceleration.setEnabled(internal);
+    myJavaHLAcceleration.setVisible(internal);
+    myJavaHLInfo.setVisible(internal);
   }
 
   private static FileChooserDescriptor createFileDescriptor() {