Mercurial > hg > mercurial
diff mercurial-server/resources/buildServerResources/mercurialSettings.jsp @ 978:38e96101a6ef Indore-2017.2.x
TW-50054 disable custom clone path by default
author | Dmitry Neverov <dmitry.neverov@gmail.com> |
---|---|
date | Wed, 24 Jan 2018 11:34:45 +0100 |
parents | 38adef4f1b8f |
children | 2b1bd4bca6ad |
line wrap: on
line diff
--- a/mercurial-server/resources/buildServerResources/mercurialSettings.jsp Mon Jan 22 11:40:45 2018 +0100 +++ b/mercurial-server/resources/buildServerResources/mercurialSettings.jsp Wed Jan 24 11:34:45 2018 +0100 @@ -28,7 +28,7 @@ } </script> <c:set var="subreposGloballyDisabled" value="<%= !TeamCityProperties.getBooleanOrTrue(Constants.GLOBAL_DETECT_SUBREPO_CHANGES) %>"/> -<c:set var="showCustomClonePath" value="<%= TeamCityProperties.getBooleanOrTrue(Constants.CUSTOM_CLONE_PATH_ENABLED) && +<c:set var="showCustomClonePath" value="<%= TeamCityProperties.getBoolean(Constants.CUSTOM_CLONE_PATH_ENABLED) && (TeamCityProperties.getBoolean(Constants.SHOW_CUSTOM_CLONE_PATH) || !StringUtil.isEmpty(propertiesBean.getProperties().get(Constants.SERVER_CLONE_PATH_PROP))) %>"/> <table class="runnerFormTable">