changeset 415:b5577526dc57

TW-20864 Implement getVcsRepositoryProperties()
author Dmitry Neverov <dmitry.neverov@jetbrains.com>
date Fri, 30 Mar 2012 15:30:48 +0400
parents aa76a036b6b6
children 9a467ce09cbd
files mercurial-server/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/MercurialVcsSupport.java mercurial.ipr
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial-server/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/MercurialVcsSupport.java	Mon Mar 26 14:54:23 2012 +0200
+++ b/mercurial-server/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/MercurialVcsSupport.java	Fri Mar 30 15:30:48 2012 +0400
@@ -783,6 +783,11 @@
   public Map<String, String> getVcsRepositoryProperties(@NotNull VcsRoot root) {
     Map<String, String> properties = new HashMap<String, String>(root.getProperties());
     properties.remove(Constants.BRANCH_NAME_PROP);
+    properties.remove(Constants.HG_COMMAND_PATH_PROP);
+    properties.remove(Constants.USERNAME);
+    properties.remove(Constants.PASSWORD);
+    properties.remove(Constants.UNCOMPRESSED_TRANSFER);
+    properties.remove(Constants.USER_FOR_TAG);
     return properties;
   }
 }
--- a/mercurial.ipr	Mon Mar 26 14:54:23 2012 +0200
+++ b/mercurial.ipr	Fri Mar 30 15:30:48 2012 +0400
@@ -310,7 +310,7 @@
       <SplitterProportionsDataImpl />
     </option>
   </component>
-  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_5" assert-keyword="true" jdk-15="true" project-jdk-name="1.5" project-jdk-type="JavaSDK" />
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_5" assert-keyword="true" jdk-15="true" project-jdk-name="1.6" project-jdk-type="JavaSDK" />
   <component name="ResourceManagerContainer">
     <option name="myResourceBundles">
       <value>