summaryrefslogtreecommitdiffstats
path: root/app/models/repository/mercurial.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-02-14 08:45:34 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-02-14 08:45:34 +0000
commitcc4e8fe0d62387a0e015a5f22b451508c7d71e93 (patch)
treed579c750ad1477e406464c9b4f4a1c62d759cc4f /app/models/repository/mercurial.rb
parent8b98c05879a278cd86fa83c73e5852cad3df4826 (diff)
downloadredmine-cc4e8fe0d62387a0e015a5f22b451508c7d71e93.tar.gz
redmine-cc4e8fe0d62387a0e015a5f22b451508c7d71e93.zip
scm: add scm command and version methods at repository models (#4273).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4822 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/repository/mercurial.rb')
-rw-r--r--app/models/repository/mercurial.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository/mercurial.rb b/app/models/repository/mercurial.rb
index 102c6dda8..557b9a4dc 100644
--- a/app/models/repository/mercurial.rb
+++ b/app/models/repository/mercurial.rb
@@ -24,7 +24,7 @@ class Repository::Mercurial < Repository
attr_protected :root_url
validates_presence_of :url
- def scm_adapter
+ def self.scm_adapter_class
Redmine::Scm::Adapters::MercurialAdapter
end