diff mercurial-server/resources/buildServerResources/mercurialSettings.jsp @ 870:6df89e185a3c

TW-19916 ability to specify custom mercurial config for VCS root
author Dmitry Neverov <dmitry.neverov@jetbrains.com>
date Wed, 24 Sep 2014 19:40:10 +0200
parents e36e8d036ebd
children 8b0a27214abf
line wrap: on
line diff
--- a/mercurial-server/resources/buildServerResources/mercurialSettings.jsp	Mon Sep 22 10:11:51 2014 +0200
+++ b/mercurial-server/resources/buildServerResources/mercurialSettings.jsp	Wed Sep 24 19:40:10 2014 +0200
@@ -27,6 +27,7 @@
 }
 </script>
 <c:set var="subreposGloballyDisabled" value="<%= !TeamCityProperties.getBooleanOrTrue(Constants.GLOBAL_DETECT_SUBREPO_CHANGES) %>"/>
+<c:set var="showHgConfig" value="<%= TeamCityProperties.getBoolean(Constants.SUPPORT_HG_CONFIG) %>"/>
 <table class="runnerFormTable">
 
   <l:settingsGroup title="General Settings">
@@ -84,6 +85,13 @@
       <span class="error" id="error_hgCommandPath"></span>
     </td>
   </tr>
+  <tr class="advancedSetting">
+    <th><label for="customHgConfig">Mercurial config:</label></th>
+    <td>
+      <props:multilineProperty name="customHgConfig" className="longField" linkTitle="Edit mercurial config" expanded="${true}" rows="3" cols="60"/>
+      <span class="error" id="error_customHgConfig"></span>
+    </td>
+  </tr>
   </l:settingsGroup>
   <l:settingsGroup title="Authorization Settings">
   <tr>