Mercurial > hg > mercurial
annotate mercurial-server/resources/buildServerResources/mercurialSettings.jsp @ 170:48a9978eaa37
Add option in UI
author | Dmitry Neverov <dmitry.neverov@jetbrains.com> |
---|---|
date | Wed, 09 Feb 2011 13:51:33 +0300 |
parents | 09cca4213a3d |
children | 24d926f22e85 |
rev | line source |
---|---|
0 | 1 <%@include file="/include.jsp"%> |
2 <%@ taglib prefix="props" tagdir="/WEB-INF/tags/props" %> | |
3 <jsp:useBean id="propertiesBean" scope="request" type="jetbrains.buildServer.controllers.BasePropertiesBean"/> | |
57 | 4 <script type="text/javascript"> |
99 | 5 window.updateBranchName = function(repoPath) { |
57 | 6 if (repoPath.indexOf('#') != -1 && $('branchName').value == '') { |
7 $('branchName').value = repoPath.substring(repoPath.indexOf('#')+1); | |
8 } | |
9 } | |
10 </script> | |
0 | 11 <table class="runnerFormTable"> |
12 | |
45 | 13 <l:settingsGroup title="General Settings"> |
0 | 14 <tr> |
15 <th><label for="hgCommandPath">HG command path: <l:star/></label></th> | |
16 <td><props:textProperty name="hgCommandPath" className="longField" /> | |
17 <span class="error" id="error_hgCommandPath"></span></td> | |
18 </tr> | |
19 <tr> | |
13 | 20 <th><label for="repositoryPath">Pull changes from: <l:star/></label></th> |
57 | 21 <td><props:textProperty name="repositoryPath" className="longField" onchange="updateBranchName(this.value)"/> |
0 | 22 <span class="error" id="error_repositoryPath"></span></td> |
23 </tr> | |
57 | 24 <tr> |
25 <th><label for="branchName">Branch name: </label></th> | |
26 <td><props:textProperty name="branchName" /></td> | |
27 </tr> | |
62
b328c6b6526d
TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
Pavel.Sher
parents:
57
diff
changeset
|
28 <tr> |
b328c6b6526d
TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
Pavel.Sher
parents:
57
diff
changeset
|
29 <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
|
30 <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
|
31 <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
|
32 </td> |
b328c6b6526d
TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
Pavel.Sher
parents:
57
diff
changeset
|
33 </tr> |
170
48a9978eaa37
Add option in UI
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents:
99
diff
changeset
|
34 <tr> |
48a9978eaa37
Add option in UI
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents:
99
diff
changeset
|
35 <th><label for="uncompressedTransfer">Use uncompressed transfer: </label></th> |
48a9978eaa37
Add option in UI
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents:
99
diff
changeset
|
36 <td><props:checkboxProperty name="uncompressedTransfer"/> |
48a9978eaa37
Add option in UI
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents:
99
diff
changeset
|
37 <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
|
38 </td> |
48a9978eaa37
Add option in UI
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents:
99
diff
changeset
|
39 </tr> |
0 | 40 </l:settingsGroup> |
45 | 41 <l:settingsGroup title="Authorization settings"> |
42 <tr> | |
62
b328c6b6526d
TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
Pavel.Sher
parents:
57
diff
changeset
|
43 <td colspan="2">Authorization settings can be required if you need to tag / label sources in the remote repository.</td> |
45 | 44 </tr> |
45 <tr> | |
46 <th><label for="username">User name:</label></th> | |
47 <td><props:textProperty name="username"/></td> | |
48 </tr> | |
49 <tr> | |
50 <th><label for="secure:password">Password:</label></th> | |
51 <td><props:passwordProperty name="secure:password"/></td> | |
52 </tr> | |
53 </l:settingsGroup> | |
0 | 54 |
55 </table> |