##// END OF EJS Templates
scm: change key name of configurable command name (#7517, #6159, #7047)....
Toshi MARUYAMA -
r4677:3ee203ef0c2b
parent child
Show More
@@ -110,11 +110,11 default:
110 110 # Configuration of SCM executable command.
111 111 # Absolute path (e.g. /usr/local/bin/hg) or command name (e.g. hg.exe, bzr.exe)
112 112 # On Windows, *.cmd, *.bat (e.g. hg.cmd, bzr.bat) does not work.
113 scm_command_subversion: svn # (default: svn)
114 scm_command_mercurial: "\"C:\Program Files\TortoiseHg\hg.exe\"" # (default: hg)
115 scm_command_git: /usr/local/bin/git # (default: git)
116 scm_command_bazaar: bzr.exe # (default: bzr)
117 scm_command_darcs: darcs-1.0.9-i386-linux # (default: darcs)
113 scm_subversion_command: svn # (default: svn)
114 scm_mercurial_command: "\"C:\Program Files\TortoiseHg\hg.exe\"" # (default: hg)
115 scm_git_command: /usr/local/bin/git # (default: git)
116 scm_bazaar_command: bzr.exe # (default: bzr)
117 scm_darcs_command: darcs-1.0.9-i386-linux # (default: darcs)
118 118
119 119 # specific configuration options for production environment
120 120 # that overrides the default ones
@@ -23,7 +23,7 module Redmine
23 23 class BazaarAdapter < AbstractAdapter
24 24
25 25 # Bazaar executable name
26 BZR_BIN = Redmine::Configuration['scm_command_bazaar'] || "bzr"
26 BZR_BIN = Redmine::Configuration['scm_bazaar_command'] || "bzr"
27 27
28 28 # Get info about the repository
29 29 def info
@@ -23,7 +23,7 module Redmine
23 23 class CvsAdapter < AbstractAdapter
24 24
25 25 # CVS executable name
26 CVS_BIN = Redmine::Configuration['scm_command_cvs'] || "cvs"
26 CVS_BIN = Redmine::Configuration['scm_cvs_command'] || "cvs"
27 27
28 28 # Guidelines for the input:
29 29 # url -> the project-path, relative to the cvsroot (eg. module name)
@@ -23,7 +23,7 module Redmine
23 23 module Adapters
24 24 class DarcsAdapter < AbstractAdapter
25 25 # Darcs executable name
26 DARCS_BIN = Redmine::Configuration['scm_command_darcs'] || "darcs"
26 DARCS_BIN = Redmine::Configuration['scm_darcs_command'] || "darcs"
27 27
28 28 class << self
29 29 def client_version
@@ -22,7 +22,7 module Redmine
22 22 module Adapters
23 23 class GitAdapter < AbstractAdapter
24 24 # Git executable name
25 GIT_BIN = Redmine::Configuration['scm_command_git'] || "git"
25 GIT_BIN = Redmine::Configuration['scm_git_command'] || "git"
26 26
27 27 def info
28 28 begin
@@ -24,7 +24,7 module Redmine
24 24 class MercurialAdapter < AbstractAdapter
25 25
26 26 # Mercurial executable name
27 HG_BIN = Redmine::Configuration['scm_command_mercurial'] || "hg"
27 HG_BIN = Redmine::Configuration['scm_mercurial_command'] || "hg"
28 28 TEMPLATES_DIR = File.dirname(__FILE__) + "/mercurial"
29 29 TEMPLATE_NAME = "hg-template"
30 30 TEMPLATE_EXTENSION = "tmpl"
@@ -24,7 +24,7 module Redmine
24 24 class SubversionAdapter < AbstractAdapter
25 25
26 26 # SVN executable name
27 SVN_BIN = Redmine::Configuration['scm_command_subversion'] || "svn"
27 SVN_BIN = Redmine::Configuration['scm_subversion_command'] || "svn"
28 28
29 29 class << self
30 30 def client_version
General Comments 0
You need to be logged in to leave comments. Login now