end
class AbstractAdapter #:nodoc:
+
+ # raised if scm command exited with error, e.g. unknown revision.
+ class ScmCommandAborted < CommandFailed; end
+
class << self
def client_command
""
# CVS executable name
CVS_BIN = Redmine::Configuration['scm_cvs_command'] || "cvs"
- # raised if scm command exited with error, e.g. unknown revision.
- class ScmCommandAborted < CommandFailed; end
-
class << self
def client_command
@@bin ||= CVS_BIN
# Git executable name
GIT_BIN = Redmine::Configuration['scm_git_command'] || "git"
- # raised if scm command exited with error, e.g. unknown revision.
- class ScmCommandAborted < CommandFailed; end
-
class << self
def client_command
@@bin ||= GIT_BIN