annotate mercurial-server/resources/buildServerResources/mercurialSettings.jsp @ 977:38adef4f1b8f Indore-2017.2.x

Update copyright
author pavel.sher
date Mon, 22 Jan 2018 11:40:45 +0100
parents 12ea02234103
children 38e96101a6ef
rev   line source
573
91b58ee782ac TW-26913
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 544
diff changeset
1 <%@ page import="jetbrains.buildServer.serverSide.TeamCityProperties" %>
91b58ee782ac TW-26913
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 544
diff changeset
2 <%@ page import="jetbrains.buildServer.buildTriggers.vcs.mercurial.Constants" %>
899
e7b716719044 TW-36401 hide 'Clone repository to' option
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 898
diff changeset
3 <%@ page import="jetbrains.buildServer.util.StringUtil" %>
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
4 <%@include file="/include.jsp"%>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
5 <%@ taglib prefix="props" tagdir="/WEB-INF/tags/props" %>
732
31a1aca3305c Update copyright
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 683
diff changeset
6 <%--
977
38adef4f1b8f Update copyright
pavel.sher
parents: 938
diff changeset
7 ~ Copyright 2000-2018 JetBrains s.r.o.
732
31a1aca3305c Update copyright
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 683
diff changeset
8 ~
31a1aca3305c Update copyright
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 683
diff changeset
9 ~ Licensed under the Apache License, Version 2.0 (the "License");
31a1aca3305c Update copyright
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 683
diff changeset
10 ~ you may not use this file except in compliance with the License.
31a1aca3305c Update copyright
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 683
diff changeset
11 ~ You may obtain a copy of the License at
31a1aca3305c Update copyright
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 683
diff changeset
12 ~
31a1aca3305c Update copyright
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 683
diff changeset
13 ~ http://www.apache.org/licenses/LICENSE-2.0
31a1aca3305c Update copyright
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 683
diff changeset
14 ~
31a1aca3305c Update copyright
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 683
diff changeset
15 ~ Unless required by applicable law or agreed to in writing, software
31a1aca3305c Update copyright
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 683
diff changeset
16 ~ distributed under the License is distributed on an "AS IS" BASIS,
31a1aca3305c Update copyright
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 683
diff changeset
17 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31a1aca3305c Update copyright
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 683
diff changeset
18 ~ See the License for the specific language governing permissions and
31a1aca3305c Update copyright
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 683
diff changeset
19 ~ limitations under the License.
31a1aca3305c Update copyright
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 683
diff changeset
20 --%>
31a1aca3305c Update copyright
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 683
diff changeset
21
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
22 <jsp:useBean id="propertiesBean" scope="request" type="jetbrains.buildServer.controllers.BasePropertiesBean"/>
57
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
23 <script type="text/javascript">
99
09cca4213a3d TW-11493
Pavel.Sher
parents: 62
diff changeset
24 window.updateBranchName = function(repoPath) {
57
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
25 if (repoPath.indexOf('#') != -1 && $('branchName').value == '') {
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
26 $('branchName').value = repoPath.substring(repoPath.indexOf('#')+1);
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
27 }
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
28 }
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
29 </script>
573
91b58ee782ac TW-26913
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 544
diff changeset
30 <c:set var="subreposGloballyDisabled" value="<%= !TeamCityProperties.getBooleanOrTrue(Constants.GLOBAL_DETECT_SUBREPO_CHANGES) %>"/>
900
b83484e825b7 TW-36401 ability to disable custom clone dir even if it specified in VCS root
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 899
diff changeset
31 <c:set var="showCustomClonePath" value="<%= TeamCityProperties.getBooleanOrTrue(Constants.CUSTOM_CLONE_PATH_ENABLED) &&
b83484e825b7 TW-36401 ability to disable custom clone dir even if it specified in VCS root
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 899
diff changeset
32 (TeamCityProperties.getBoolean(Constants.SHOW_CUSTOM_CLONE_PATH)
b83484e825b7 TW-36401 ability to disable custom clone dir even if it specified in VCS root
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 899
diff changeset
33 || !StringUtil.isEmpty(propertiesBean.getProperties().get(Constants.SERVER_CLONE_PATH_PROP))) %>"/>
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
34 <table class="runnerFormTable">
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
35
45
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
36 <l:settingsGroup title="General Settings">
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
37 <tr>
603
256d3fc22a28 fix capitalization: labels should have first word capitalized only, while titles should have all words capitalized
Pavel.Sher
parents: 573
diff changeset
38 <th><label for="repositoryPath">Pull changes from: <l:star/></label></th>
57
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
39 <td><props:textProperty name="repositoryPath" className="longField" onchange="updateBranchName(this.value)"/>
938
12ea02234103 Show oauth connections
Dmitry Neverov <dmitry.neverov@gmail.com>
parents: 924
diff changeset
40 <jsp:include page="/admin/repositoryControls.html?projectId=${parentProject.externalId}&vcsType=hg"/>
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
41 <span class="error" id="error_repositoryPath"></span></td>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
42 </tr>
57
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
43 <tr>
603
256d3fc22a28 fix capitalization: labels should have first word capitalized only, while titles should have all words capitalized
Pavel.Sher
parents: 573
diff changeset
44 <th><label for="branchName">Default branch: </label></th>
469
25ec3dde8770 TW-23426
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 464
diff changeset
45 <td>
683
c0b08dd02418 Align fields width
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 672
diff changeset
46 <props:textProperty name="branchName" className="longField"/>
840
e36e8d036ebd Wording
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 834
diff changeset
47 <div class="smallNote" style="margin: 0;">The main branch to be monitored</div>
469
25ec3dde8770 TW-23426
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 464
diff changeset
48 </td>
57
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
49 </tr>
463
0d9919bd9685 Use branchSpec tag
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 455
diff changeset
50 <bs:branchSpecTableRow/>
651
3db16531f7ba mercurial adv settings
Pavel.Sher
parents: 649
diff changeset
51 <tr class="advancedSetting">
649
0b50d7952a7d TW-23468 support tags as branches
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 603
diff changeset
52 <th><label for="reportTagRevisions">Use tags as branches:</label></th>
0b50d7952a7d TW-23468 support tags as branches
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 603
diff changeset
53 <td>
0b50d7952a7d TW-23468 support tags as branches
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 603
diff changeset
54 <props:checkboxProperty name="useTagsAsBranches"/>
683
c0b08dd02418 Align fields width
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 672
diff changeset
55 <label for="reportTagRevisions">If enabled tags can be used in branch specification</label>
649
0b50d7952a7d TW-23468 support tags as branches
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 603
diff changeset
56 </td>
0b50d7952a7d TW-23468 support tags as branches
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 603
diff changeset
57 </tr>
899
e7b716719044 TW-36401 hide 'Clone repository to' option
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 898
diff changeset
58 <c:if test="${showCustomClonePath}">
e7b716719044 TW-36401 hide 'Clone repository to' option
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 898
diff changeset
59 <tr class="advancedSetting">
e7b716719044 TW-36401 hide 'Clone repository to' option
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 898
diff changeset
60 <th><label for="serverClonePath">Clone repository to: </label></th>
e7b716719044 TW-36401 hide 'Clone repository to' option
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 898
diff changeset
61 <td><props:textProperty name="serverClonePath" className="longField"/>
e7b716719044 TW-36401 hide 'Clone repository to' option
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 898
diff changeset
62 <div class="smallNote" style="margin: 0;">Provide path to a parent directory on TeamCity server where a cloned repository should be created (applicable to "Automatically on server" checkout mode only). Leave blank to use default path.</div>
e7b716719044 TW-36401 hide 'Clone repository to' option
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 898
diff changeset
63 </td>
e7b716719044 TW-36401 hide 'Clone repository to' option
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 898
diff changeset
64 </tr>
e7b716719044 TW-36401 hide 'Clone repository to' option
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 898
diff changeset
65 </c:if>
651
3db16531f7ba mercurial adv settings
Pavel.Sher
parents: 649
diff changeset
66 <tr class="advancedSetting">
544
4ff88460fb5d UI option for subrepo changes
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 517
diff changeset
67 <th><label for="detectSubrepoChanges">Detect subrepo changes: </label></th>
4ff88460fb5d UI option for subrepo changes
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 517
diff changeset
68 <td>
4ff88460fb5d UI option for subrepo changes
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 517
diff changeset
69 <props:checkboxProperty name="detectSubrepoChanges"/>
573
91b58ee782ac TW-26913
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 544
diff changeset
70 <c:if test="${subreposGloballyDisabled}">
91b58ee782ac TW-26913
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 544
diff changeset
71 <div class="smallNote" style="margin: 0;">Currently <b>disabled</b> for the entire server with 'teamcity.hg.detectSubrepoChanges' internal property.</div>
91b58ee782ac TW-26913
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 544
diff changeset
72 </c:if>
544
4ff88460fb5d UI option for subrepo changes
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 517
diff changeset
73 </td>
4ff88460fb5d UI option for subrepo changes
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 517
diff changeset
74 </tr>
651
3db16531f7ba mercurial adv settings
Pavel.Sher
parents: 649
diff changeset
75 <tr class="advancedSetting">
672
8b09ec36fbef Ability to specify an author of the merge commit
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 651
diff changeset
76 <th><label for="tagUsername">Username for tags/merge: </label></th>
683
c0b08dd02418 Align fields width
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 672
diff changeset
77 <td><props:textProperty name="tagUsername" className="longField"/>
385
62f273711a49 TW-20263 add note for tag name format
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 371
diff changeset
78 <div class="smallNote" style="margin: 0;">Format: User Name &lt;email&gt;</div>
62f273711a49 TW-20263 add note for tag name format
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 371
diff changeset
79 </td>
371
24d926f22e85 TW-16045 allow specify username for tags
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 170
diff changeset
80 </tr>
651
3db16531f7ba mercurial adv settings
Pavel.Sher
parents: 649
diff changeset
81 <tr class="advancedSetting">
603
256d3fc22a28 fix capitalization: labels should have first word capitalized only, while titles should have all words capitalized
Pavel.Sher
parents: 573
diff changeset
82 <th><label for="uncompressedTransfer">Use uncompressed transfer: </label></th>
170
48a9978eaa37 Add option in UI
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 99
diff changeset
83 <td><props:checkboxProperty name="uncompressedTransfer"/>
48a9978eaa37 Add option in UI
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 99
diff changeset
84 <div class="smallNote" style="margin: 0;">Uncompressed transfer is faster for repositories in the LAN.</div>
48a9978eaa37 Add option in UI
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 99
diff changeset
85 </td>
48a9978eaa37 Add option in UI
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 99
diff changeset
86 </tr>
499
a7753de2a27a Move hg path to the bottom
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 471
diff changeset
87 <tr>
603
256d3fc22a28 fix capitalization: labels should have first word capitalized only, while titles should have all words capitalized
Pavel.Sher
parents: 573
diff changeset
88 <th><label for="hgCommandPath">HG command path: <l:star/></label></th>
499
a7753de2a27a Move hg path to the bottom
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 471
diff changeset
89 <td>
a7753de2a27a Move hg path to the bottom
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 471
diff changeset
90 <props:textProperty name="hgCommandPath" className="longField" />
a7753de2a27a Move hg path to the bottom
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 471
diff changeset
91 <span class="error" id="error_hgCommandPath"></span>
a7753de2a27a Move hg path to the bottom
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 471
diff changeset
92 </td>
a7753de2a27a Move hg path to the bottom
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 471
diff changeset
93 </tr>
870
6df89e185a3c TW-19916 ability to specify custom mercurial config for VCS root
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 840
diff changeset
94 <tr class="advancedSetting">
6df89e185a3c TW-19916 ability to specify custom mercurial config for VCS root
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 840
diff changeset
95 <th><label for="customHgConfig">Mercurial config:</label></th>
6df89e185a3c TW-19916 ability to specify custom mercurial config for VCS root
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 840
diff changeset
96 <td>
6df89e185a3c TW-19916 ability to specify custom mercurial config for VCS root
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 840
diff changeset
97 <props:multilineProperty name="customHgConfig" className="longField" linkTitle="Edit mercurial config" expanded="${true}" rows="3" cols="60"/>
6df89e185a3c TW-19916 ability to specify custom mercurial config for VCS root
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 840
diff changeset
98 <span class="error" id="error_customHgConfig"></span>
6df89e185a3c TW-19916 ability to specify custom mercurial config for VCS root
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 840
diff changeset
99 </td>
6df89e185a3c TW-19916 ability to specify custom mercurial config for VCS root
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 840
diff changeset
100 </tr>
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
101 </l:settingsGroup>
603
256d3fc22a28 fix capitalization: labels should have first word capitalized only, while titles should have all words capitalized
Pavel.Sher
parents: 573
diff changeset
102 <l:settingsGroup title="Authorization Settings">
45
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
103 <tr>
603
256d3fc22a28 fix capitalization: labels should have first word capitalized only, while titles should have all words capitalized
Pavel.Sher
parents: 573
diff changeset
104 <th><label for="username">User name:</label></th>
437
585a23bc9400 Add note on settings from server hgrc
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 385
diff changeset
105 <td>
683
c0b08dd02418 Align fields width
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 672
diff changeset
106 <props:textProperty name="username" className="longField"/>
517
9c22b0679417 TW-22167 don't use yellow triangles
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 499
diff changeset
107 <span class="smallNote">Leave blank to use settings from the server hgrc (see 'man hgrc' for details)</span>
437
585a23bc9400 Add note on settings from server hgrc
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 385
diff changeset
108 </td>
45
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
109 </tr>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
110 <tr>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
111 <th><label for="secure:password">Password:</label></th>
437
585a23bc9400 Add note on settings from server hgrc
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 385
diff changeset
112 <td>
683
c0b08dd02418 Align fields width
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 672
diff changeset
113 <props:passwordProperty name="secure:password" className="longField"/>
517
9c22b0679417 TW-22167 don't use yellow triangles
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 499
diff changeset
114 <span class="smallNote">Leave blank to use settings from the server hgrc (see 'man hgrc' for details)</span>
437
585a23bc9400 Add note on settings from server hgrc
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 385
diff changeset
115 </td>
45
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
116 </tr>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
117 </l:settingsGroup>
834
80ae3dc66685 TW-18605 add support for 'hg purge'
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 732
diff changeset
118 <l:settingsGroup title="Agent Settings" className="advancedSetting">
80ae3dc66685 TW-18605 add support for 'hg purge'
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 732
diff changeset
119 <tr class="advancedSetting">
80ae3dc66685 TW-18605 add support for 'hg purge'
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 732
diff changeset
120 <td colspan="2">Agent-specific settings that are used in case of agent checkout.</td>
80ae3dc66685 TW-18605 add support for 'hg purge'
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 732
diff changeset
121 </tr>
80ae3dc66685 TW-18605 add support for 'hg purge'
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 732
diff changeset
122 <tr class="advancedSetting">
80ae3dc66685 TW-18605 add support for 'hg purge'
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 732
diff changeset
123 <th>
80ae3dc66685 TW-18605 add support for 'hg purge'
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 732
diff changeset
124 <label for="purgePolicy">Purge settings:</label>
80ae3dc66685 TW-18605 add support for 'hg purge'
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 732
diff changeset
125 </th>
80ae3dc66685 TW-18605 add support for 'hg purge'
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 732
diff changeset
126 <td>
80ae3dc66685 TW-18605 add support for 'hg purge'
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 732
diff changeset
127 <props:selectProperty name="purgePolicy" enableFilter="true" className="mediumField">
80ae3dc66685 TW-18605 add support for 'hg purge'
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 732
diff changeset
128 <props:option value="">Don't run purge</props:option>
80ae3dc66685 TW-18605 add support for 'hg purge'
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 732
diff changeset
129 <props:option value="PURGE_UNKNOWN">Purge unknown files</props:option>
80ae3dc66685 TW-18605 add support for 'hg purge'
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 732
diff changeset
130 <props:option value="PURGE_ALL">Purge ignored & unknown files</props:option>
80ae3dc66685 TW-18605 add support for 'hg purge'
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 732
diff changeset
131 </props:selectProperty>
80ae3dc66685 TW-18605 add support for 'hg purge'
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 732
diff changeset
132 </td>
80ae3dc66685 TW-18605 add support for 'hg purge'
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 732
diff changeset
133 </tr>
896
4e29b1244707 Add VCS root option to use shared mirrors during agent-side checkout
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 871
diff changeset
134 <tr class="advancedSetting">
898
638d979c6117 Polishing 'use mirrors' option
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 896
diff changeset
135 <th><label for="useSharedMirrors">Use mirrors:</label></th>
638d979c6117 Polishing 'use mirrors' option
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 896
diff changeset
136 <td>
638d979c6117 Polishing 'use mirrors' option
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 896
diff changeset
137 <props:checkboxProperty name="useSharedMirrors"/>
638d979c6117 Polishing 'use mirrors' option
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 896
diff changeset
138 <div class="smallNote" style="margin: 0" >
924
ef9d14cbca44 wording
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 900
diff changeset
139 When this option is enabled, TeamCity creates a separate clone of the repository on each agent
ef9d14cbca44 wording
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 900
diff changeset
140 and uses it in the checkout directory via mercurial share extension.
898
638d979c6117 Polishing 'use mirrors' option
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 896
diff changeset
141 </div>
638d979c6117 Polishing 'use mirrors' option
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 896
diff changeset
142 </td>
896
4e29b1244707 Add VCS root option to use shared mirrors during agent-side checkout
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 871
diff changeset
143 </tr>
834
80ae3dc66685 TW-18605 add support for 'hg purge'
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 732
diff changeset
144 </l:settingsGroup>
938
12ea02234103 Show oauth connections
Dmitry Neverov <dmitry.neverov@gmail.com>
parents: 924
diff changeset
145 <script type="text/javascript">
12ea02234103 Show oauth connections
Dmitry Neverov <dmitry.neverov@gmail.com>
parents: 924
diff changeset
146 $j(document).ready(function() {
12ea02234103 Show oauth connections
Dmitry Neverov <dmitry.neverov@gmail.com>
parents: 924
diff changeset
147 if (BS.Repositories != null) {
12ea02234103 Show oauth connections
Dmitry Neverov <dmitry.neverov@gmail.com>
parents: 924
diff changeset
148 BS.Repositories.installControls($('repositoryPath'), function (repoInfo, cre) {
12ea02234103 Show oauth connections
Dmitry Neverov <dmitry.neverov@gmail.com>
parents: 924
diff changeset
149 $('repositoryPath').value = repoInfo.repositoryUrl;
12ea02234103 Show oauth connections
Dmitry Neverov <dmitry.neverov@gmail.com>
parents: 924
diff changeset
150 if (cre != null) {
12ea02234103 Show oauth connections
Dmitry Neverov <dmitry.neverov@gmail.com>
parents: 924
diff changeset
151 $('username').value = cre.oauthLogin;
12ea02234103 Show oauth connections
Dmitry Neverov <dmitry.neverov@gmail.com>
parents: 924
diff changeset
152 }
12ea02234103 Show oauth connections
Dmitry Neverov <dmitry.neverov@gmail.com>
parents: 924
diff changeset
153 });
12ea02234103 Show oauth connections
Dmitry Neverov <dmitry.neverov@gmail.com>
parents: 924
diff changeset
154 } else {
12ea02234103 Show oauth connections
Dmitry Neverov <dmitry.neverov@gmail.com>
parents: 924
diff changeset
155 $j('.listRepositoriesControls').hide();
12ea02234103 Show oauth connections
Dmitry Neverov <dmitry.neverov@gmail.com>
parents: 924
diff changeset
156 }
12ea02234103 Show oauth connections
Dmitry Neverov <dmitry.neverov@gmail.com>
parents: 924
diff changeset
157 });
12ea02234103 Show oauth connections
Dmitry Neverov <dmitry.neverov@gmail.com>
parents: 924
diff changeset
158 </script>
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
159 </table>