annotate mercurial-server/resources/buildServerResources/mercurialSettings.jsp @ 455:cb5263bf8b25

Show branchSpec and branch together
author Dmitry Neverov <dmitry.neverov@jetbrains.com>
date Wed, 04 Jul 2012 21:36:43 +0400
parents 585a23bc9400
children 0d9919bd9685
rev   line source
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
1 <%@include file="/include.jsp"%>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
2 <%@ taglib prefix="props" tagdir="/WEB-INF/tags/props" %>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
3 <jsp:useBean id="propertiesBean" scope="request" type="jetbrains.buildServer.controllers.BasePropertiesBean"/>
57
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
4 <script type="text/javascript">
99
09cca4213a3d TW-11493
Pavel.Sher
parents: 62
diff changeset
5 window.updateBranchName = function(repoPath) {
57
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
6 if (repoPath.indexOf('#') != -1 && $('branchName').value == '') {
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
7 $('branchName').value = repoPath.substring(repoPath.indexOf('#')+1);
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
8 }
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
9 }
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
10 </script>
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
11 <table class="runnerFormTable">
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
12
45
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
13 <l:settingsGroup title="General Settings">
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
14 <tr>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
15 <th><label for="hgCommandPath">HG command path: <l:star/></label></th>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
16 <td><props:textProperty name="hgCommandPath" className="longField" />
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
17 <span class="error" id="error_hgCommandPath"></span></td>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
18 </tr>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
19 <tr>
13
26505742bae5 disable test connection
Pavel.Sher
parents: 0
diff changeset
20 <th><label for="repositoryPath">Pull changes from: <l:star/></label></th>
57
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
21 <td><props:textProperty name="repositoryPath" className="longField" onchange="updateBranchName(this.value)"/>
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
22 <span class="error" id="error_repositoryPath"></span></td>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
23 </tr>
57
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
24 <tr>
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
25 <th><label for="branchName">Branch name: </label></th>
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
26 <td><props:textProperty name="branchName" /></td>
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
27 </tr>
62
b328c6b6526d TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
Pavel.Sher
parents: 57
diff changeset
28 <tr>
455
cb5263bf8b25 Show branchSpec and branch together
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 437
diff changeset
29 <th><label>Branch Specification:</label></th>
cb5263bf8b25 Show branchSpec and branch together
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 437
diff changeset
30 <td>
cb5263bf8b25 Show branchSpec and branch together
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 437
diff changeset
31 <props:multilineProperty name="teamcity:branchSpec" value="${vcsPropertiesBean.branchSpec}" rows="3" cols="60" linkTitle="Edit branch specification" expanded="${true}" className="longField"/>
cb5263bf8b25 Show branchSpec and branch together
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 437
diff changeset
32 <span class="smallNote">Newline-delimited set or rules in the form of <b>+|-:branch name</b> (with optional <b>*</b> placeholder)</span>
cb5263bf8b25 Show branchSpec and branch together
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 437
diff changeset
33 </td>
cb5263bf8b25 Show branchSpec and branch together
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 437
diff changeset
34 </tr>
cb5263bf8b25 Show branchSpec and branch together
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 437
diff changeset
35 <tr>
62
b328c6b6526d TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
Pavel.Sher
parents: 57
diff changeset
36 <th><label for="serverClonePath">Clone repository to: </label></th>
b328c6b6526d TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
Pavel.Sher
parents: 57
diff changeset
37 <td><props:textProperty name="serverClonePath" className="longField"/>
b328c6b6526d TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
Pavel.Sher
parents: 57
diff changeset
38 <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>
b328c6b6526d TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
Pavel.Sher
parents: 57
diff changeset
39 </td>
b328c6b6526d TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
Pavel.Sher
parents: 57
diff changeset
40 </tr>
170
48a9978eaa37 Add option in UI
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 99
diff changeset
41 <tr>
371
24d926f22e85 TW-16045 allow specify username for tags
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 170
diff changeset
42 <th><label for="tagUsername">Username for tags: </label></th>
385
62f273711a49 TW-20263 add note for tag name format
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 371
diff changeset
43 <td><props:textProperty name="tagUsername"/>
62f273711a49 TW-20263 add note for tag name format
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 371
diff changeset
44 <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
45 </td>
371
24d926f22e85 TW-16045 allow specify username for tags
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 170
diff changeset
46 </tr>
24d926f22e85 TW-16045 allow specify username for tags
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 170
diff changeset
47 <tr>
170
48a9978eaa37 Add option in UI
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 99
diff changeset
48 <th><label for="uncompressedTransfer">Use uncompressed transfer: </label></th>
48a9978eaa37 Add option in UI
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 99
diff changeset
49 <td><props:checkboxProperty name="uncompressedTransfer"/>
48a9978eaa37 Add option in UI
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 99
diff changeset
50 <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
51 </td>
48a9978eaa37 Add option in UI
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 99
diff changeset
52 </tr>
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
53 </l:settingsGroup>
45
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
54 <l:settingsGroup title="Authorization settings">
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
55 <tr>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
56 <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
57 <td>
585a23bc9400 Add note on settings from server hgrc
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 385
diff changeset
58 <props:textProperty name="username"/>
585a23bc9400 Add note on settings from server hgrc
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 385
diff changeset
59 <span class="smallNoteAttention">Leave blank to use settings from the server hgrc (see 'man hgrc' for details)</span>
585a23bc9400 Add note on settings from server hgrc
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 385
diff changeset
60 </td>
45
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
61 </tr>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
62 <tr>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
63 <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
64 <td>
585a23bc9400 Add note on settings from server hgrc
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 385
diff changeset
65 <props:passwordProperty name="secure:password"/>
585a23bc9400 Add note on settings from server hgrc
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 385
diff changeset
66 <span class="smallNoteAttention">Leave blank to use settings from the server hgrc (see 'man hgrc' for details)</span>
585a23bc9400 Add note on settings from server hgrc
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 385
diff changeset
67 </td>
45
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
68 </tr>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
69 </l:settingsGroup>
371
24d926f22e85 TW-16045 allow specify username for tags
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 170
diff changeset
70
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
71 </table>