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
This commit is contained in:
Toshi MARUYAMA
2011-02-14 08:45:34 +00:00
parent 8b98c05879
commit cc4e8fe0d6
8 changed files with 39 additions and 19 deletions
+3 -3
View File
@@ -21,14 +21,14 @@ class Repository::Bazaar < Repository
attr_protected :root_url
validates_presence_of :url
def scm_adapter
def self.scm_adapter_class
Redmine::Scm::Adapters::BazaarAdapter
end
def self.scm_name
'Bazaar'
end
def entries(path=nil, identifier=nil)
entries = scm.entries(path, identifier)
if entries