view mercurial-common/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/Constants.java @ 116:1c7e94c0ad2f

Add ability to use mercurial installed on the system. We bundle hg.exe for tests, but it doesn't work on linux. Add ability to set hg executable to use in our tests in the same way as it done in git-plugin
author Dmitry Neverov <dmitry.neverov@jetbrains.com>
date Mon, 23 Aug 2010 16:18:54 +0400
parents 6c1cff1f61cc
children 5198b02fc5e9
line wrap: on
line source
/*
 * Copyright 2000-2010 JetBrains s.r.o.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package jetbrains.buildServer.buildTriggers.vcs.mercurial;

import jetbrains.buildServer.vcs.VcsRoot;

public interface Constants {
  String VCS_NAME = "mercurial";
  String REPOSITORY_PROP = "repositoryPath";
  String BRANCH_NAME_PROP = "branchName";
  String HG_COMMAND_PATH_PROP = "hgCommandPath";
  String HG_PATH_ENV = "TEAMCITY_HG_PATH";
  String SERVER_CLONE_PATH_PROP = "serverClonePath";
  String USERNAME = "username";
  String PASSWORD = VcsRoot.SECURE_PROPERTY_PREFIX + "password";
}