git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4797 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -23,7 +23,7 @@ module Redmine
|
||||
class BazaarAdapter < AbstractAdapter
|
||||
|
||||
# Bazaar executable name
|
||||
BZR_BIN = Redmine::Configuration['scm_command_bazaar'] || "bzr"
|
||||
BZR_BIN = Redmine::Configuration['scm_bazaar_command'] || "bzr"
|
||||
|
||||
# Get info about the repository
|
||||
def info
|
||||
|
||||
@@ -23,7 +23,7 @@ module Redmine
|
||||
class CvsAdapter < AbstractAdapter
|
||||
|
||||
# CVS executable name
|
||||
CVS_BIN = Redmine::Configuration['scm_command_cvs'] || "cvs"
|
||||
CVS_BIN = Redmine::Configuration['scm_cvs_command'] || "cvs"
|
||||
|
||||
# Guidelines for the input:
|
||||
# url -> the project-path, relative to the cvsroot (eg. module name)
|
||||
|
||||
@@ -23,7 +23,7 @@ module Redmine
|
||||
module Adapters
|
||||
class DarcsAdapter < AbstractAdapter
|
||||
# Darcs executable name
|
||||
DARCS_BIN = Redmine::Configuration['scm_command_darcs'] || "darcs"
|
||||
DARCS_BIN = Redmine::Configuration['scm_darcs_command'] || "darcs"
|
||||
|
||||
class << self
|
||||
def client_version
|
||||
|
||||
@@ -22,7 +22,7 @@ module Redmine
|
||||
module Adapters
|
||||
class GitAdapter < AbstractAdapter
|
||||
# Git executable name
|
||||
GIT_BIN = Redmine::Configuration['scm_command_git'] || "git"
|
||||
GIT_BIN = Redmine::Configuration['scm_git_command'] || "git"
|
||||
|
||||
def info
|
||||
begin
|
||||
|
||||
@@ -24,7 +24,7 @@ module Redmine
|
||||
class MercurialAdapter < AbstractAdapter
|
||||
|
||||
# Mercurial executable name
|
||||
HG_BIN = Redmine::Configuration['scm_command_mercurial'] || "hg"
|
||||
HG_BIN = Redmine::Configuration['scm_mercurial_command'] || "hg"
|
||||
TEMPLATES_DIR = File.dirname(__FILE__) + "/mercurial"
|
||||
TEMPLATE_NAME = "hg-template"
|
||||
TEMPLATE_EXTENSION = "tmpl"
|
||||
|
||||
@@ -24,7 +24,7 @@ module Redmine
|
||||
class SubversionAdapter < AbstractAdapter
|
||||
|
||||
# SVN executable name
|
||||
SVN_BIN = Redmine::Configuration['scm_command_subversion'] || "svn"
|
||||
SVN_BIN = Redmine::Configuration['scm_subversion_command'] || "svn"
|
||||
|
||||
class << self
|
||||
def client_version
|
||||
|
||||
Reference in New Issue
Block a user