Mercurial > hg > mercurial
view mercurial-server/resources/buildServerResources/mercurialSettings.jsp @ 62:b328c6b6526d
TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
author | Pavel.Sher |
---|---|
date | Wed, 26 Nov 2008 19:12:27 +0300 |
parents | 99e757f2527b |
children | 09cca4213a3d |
line wrap: on
line source
<%@include file="/include.jsp"%> <%@ taglib prefix="props" tagdir="/WEB-INF/tags/props" %> <jsp:useBean id="propertiesBean" scope="request" type="jetbrains.buildServer.controllers.BasePropertiesBean"/> <script type="text/javascript"> function updateBranchName(repoPath) { if (repoPath.indexOf('#') != -1 && $('branchName').value == '') { $('branchName').value = repoPath.substring(repoPath.indexOf('#')+1); } } </script> <table class="runnerFormTable"> <l:settingsGroup title="General Settings"> <tr> <th><label for="hgCommandPath">HG command path: <l:star/></label></th> <td><props:textProperty name="hgCommandPath" className="longField" /> <span class="error" id="error_hgCommandPath"></span></td> </tr> <tr> <th><label for="repositoryPath">Pull changes from: <l:star/></label></th> <td><props:textProperty name="repositoryPath" className="longField" onchange="updateBranchName(this.value)"/> <span class="error" id="error_repositoryPath"></span></td> </tr> <tr> <th><label for="branchName">Branch name: </label></th> <td><props:textProperty name="branchName" /></td> </tr> <tr> <th><label for="serverClonePath">Clone repository to: </label></th> <td><props:textProperty name="serverClonePath" className="longField"/> <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> </td> </tr> </l:settingsGroup> <l:settingsGroup title="Authorization settings"> <tr> <td colspan="2">Authorization settings can be required if you need to tag / label sources in the remote repository.</td> </tr> <tr> <th><label for="username">User name:</label></th> <td><props:textProperty name="username"/></td> </tr> <tr> <th><label for="secure:password">Password:</label></th> <td><props:passwordProperty name="secure:password"/></td> </tr> </l:settingsGroup> </table>