# HG changeset patch # User Chris Cannam # Date 1357815707 0 # Node ID 51d7f3e0655689e4ac2a38b5785197e5abb7dfa9 # Parent 522f2aff1f07bbaf0428104d716533bba4e1cbbc Fix "uninitialized constant Redmine::Scm::Adapters::CommandFailed" (see https://www.chiliproject.org/projects/chiliproject/repository/revisions/cbcce704006c6827b4a3134a2dda9de7c47f18ae) diff -r 522f2aff1f07 -r 51d7f3e06556 app/models/repository/bazaar.rb --- a/app/models/repository/bazaar.rb Thu Jan 10 11:01:05 2013 +0000 +++ b/app/models/repository/bazaar.rb Thu Jan 10 11:01:47 2013 +0000 @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -require 'redmine/scm/adapters/bazaar_adapter' +require_dependency 'redmine/scm/adapters/bazaar_adapter' class Repository::Bazaar < Repository attr_protected :root_url diff -r 522f2aff1f07 -r 51d7f3e06556 app/models/repository/cvs.rb --- a/app/models/repository/cvs.rb Thu Jan 10 11:01:05 2013 +0000 +++ b/app/models/repository/cvs.rb Thu Jan 10 11:01:47 2013 +0000 @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -require 'redmine/scm/adapters/cvs_adapter' +require_dependency 'redmine/scm/adapters/cvs_adapter' require 'digest/sha1' class Repository::Cvs < Repository diff -r 522f2aff1f07 -r 51d7f3e06556 app/models/repository/darcs.rb --- a/app/models/repository/darcs.rb Thu Jan 10 11:01:05 2013 +0000 +++ b/app/models/repository/darcs.rb Thu Jan 10 11:01:47 2013 +0000 @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -require 'redmine/scm/adapters/darcs_adapter' +require_dependency 'redmine/scm/adapters/darcs_adapter' class Repository::Darcs < Repository validates_presence_of :url, :log_encoding diff -r 522f2aff1f07 -r 51d7f3e06556 app/models/repository/filesystem.rb --- a/app/models/repository/filesystem.rb Thu Jan 10 11:01:05 2013 +0000 +++ b/app/models/repository/filesystem.rb Thu Jan 10 11:01:47 2013 +0000 @@ -18,7 +18,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -require 'redmine/scm/adapters/filesystem_adapter' +require_dependency 'redmine/scm/adapters/filesystem_adapter' class Repository::Filesystem < Repository attr_protected :root_url diff -r 522f2aff1f07 -r 51d7f3e06556 app/models/repository/git.rb --- a/app/models/repository/git.rb Thu Jan 10 11:01:05 2013 +0000 +++ b/app/models/repository/git.rb Thu Jan 10 11:01:47 2013 +0000 @@ -16,7 +16,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -require 'redmine/scm/adapters/git_adapter' +require_dependency 'redmine/scm/adapters/git_adapter' class Repository::Git < Repository attr_protected :root_url diff -r 522f2aff1f07 -r 51d7f3e06556 app/models/repository/mercurial.rb --- a/app/models/repository/mercurial.rb Thu Jan 10 11:01:05 2013 +0000 +++ b/app/models/repository/mercurial.rb Thu Jan 10 11:01:47 2013 +0000 @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -require 'redmine/scm/adapters/mercurial_adapter' +require_dependency 'redmine/scm/adapters/mercurial_adapter' class Repository::Mercurial < Repository # sort changesets by revision number diff -r 522f2aff1f07 -r 51d7f3e06556 app/models/repository/subversion.rb --- a/app/models/repository/subversion.rb Thu Jan 10 11:01:05 2013 +0000 +++ b/app/models/repository/subversion.rb Thu Jan 10 11:01:47 2013 +0000 @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -require 'redmine/scm/adapters/subversion_adapter' +require_dependency 'redmine/scm/adapters/subversion_adapter' class Repository::Subversion < Repository attr_protected :root_url diff -r 522f2aff1f07 -r 51d7f3e06556 lib/redmine/scm/adapters/bazaar_adapter.rb --- a/lib/redmine/scm/adapters/bazaar_adapter.rb Thu Jan 10 11:01:05 2013 +0000 +++ b/lib/redmine/scm/adapters/bazaar_adapter.rb Thu Jan 10 11:01:47 2013 +0000 @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -require 'redmine/scm/adapters/abstract_adapter' +require_dependency 'redmine/scm/adapters/abstract_adapter' module Redmine module Scm diff -r 522f2aff1f07 -r 51d7f3e06556 lib/redmine/scm/adapters/cvs_adapter.rb --- a/lib/redmine/scm/adapters/cvs_adapter.rb Thu Jan 10 11:01:05 2013 +0000 +++ b/lib/redmine/scm/adapters/cvs_adapter.rb Thu Jan 10 11:01:47 2013 +0000 @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -require 'redmine/scm/adapters/abstract_adapter' +require_dependency 'redmine/scm/adapters/abstract_adapter' module Redmine module Scm diff -r 522f2aff1f07 -r 51d7f3e06556 lib/redmine/scm/adapters/darcs_adapter.rb --- a/lib/redmine/scm/adapters/darcs_adapter.rb Thu Jan 10 11:01:05 2013 +0000 +++ b/lib/redmine/scm/adapters/darcs_adapter.rb Thu Jan 10 11:01:47 2013 +0000 @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -require 'redmine/scm/adapters/abstract_adapter' +require_dependency 'redmine/scm/adapters/abstract_adapter' require 'rexml/document' module Redmine diff -r 522f2aff1f07 -r 51d7f3e06556 lib/redmine/scm/adapters/filesystem_adapter.rb --- a/lib/redmine/scm/adapters/filesystem_adapter.rb Thu Jan 10 11:01:05 2013 +0000 +++ b/lib/redmine/scm/adapters/filesystem_adapter.rb Thu Jan 10 11:01:47 2013 +0000 @@ -18,7 +18,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -require 'redmine/scm/adapters/abstract_adapter' +require_dependency 'redmine/scm/adapters/abstract_adapter' require 'find' module Redmine diff -r 522f2aff1f07 -r 51d7f3e06556 lib/redmine/scm/adapters/git_adapter.rb --- a/lib/redmine/scm/adapters/git_adapter.rb Thu Jan 10 11:01:05 2013 +0000 +++ b/lib/redmine/scm/adapters/git_adapter.rb Thu Jan 10 11:01:47 2013 +0000 @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -require 'redmine/scm/adapters/abstract_adapter' +require_dependency 'redmine/scm/adapters/abstract_adapter' module Redmine module Scm diff -r 522f2aff1f07 -r 51d7f3e06556 lib/redmine/scm/adapters/mercurial_adapter.rb --- a/lib/redmine/scm/adapters/mercurial_adapter.rb Thu Jan 10 11:01:05 2013 +0000 +++ b/lib/redmine/scm/adapters/mercurial_adapter.rb Thu Jan 10 11:01:47 2013 +0000 @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -require 'redmine/scm/adapters/abstract_adapter' +require_dependency 'redmine/scm/adapters/abstract_adapter' require 'cgi' module Redmine diff -r 522f2aff1f07 -r 51d7f3e06556 lib/redmine/scm/adapters/subversion_adapter.rb --- a/lib/redmine/scm/adapters/subversion_adapter.rb Thu Jan 10 11:01:05 2013 +0000 +++ b/lib/redmine/scm/adapters/subversion_adapter.rb Thu Jan 10 11:01:47 2013 +0000 @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -require 'redmine/scm/adapters/abstract_adapter' +require_dependency 'redmine/scm/adapters/abstract_adapter' require 'uri' module Redmine