Commit 8412b4f1 authored by Toshi MARUYAMA's avatar Toshi MARUYAMA Committed by Eric Davis

scm: set supporting all revisions or not at scm level.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5143 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 27177def
...@@ -71,6 +71,10 @@ class Repository < ActiveRecord::Base ...@@ -71,6 +71,10 @@ class Repository < ActiveRecord::Base
scm.supports_annotate? scm.supports_annotate?
end end
def supports_all_revisions?
true
end
def entry(path=nil, identifier=nil) def entry(path=nil, identifier=nil)
scm.entry(path, identifier) scm.entry(path, identifier)
end end
......
...@@ -39,6 +39,10 @@ class Repository::Filesystem < Repository ...@@ -39,6 +39,10 @@ class Repository::Filesystem < Repository
'Filesystem' 'Filesystem'
end end
def supports_all_revisions?
false
end
def entries(path=nil, identifier=nil) def entries(path=nil, identifier=nil)
scm.entries(path, identifier) scm.entries(path, identifier)
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment