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
This commit is contained in:
parent
83df013f47
commit
de5c337df2
|
@ -71,6 +71,10 @@ class Repository < ActiveRecord::Base
|
|||
scm.supports_annotate?
|
||||
end
|
||||
|
||||
def supports_all_revisions?
|
||||
true
|
||||
end
|
||||
|
||||
def entry(path=nil, identifier=nil)
|
||||
scm.entry(path, identifier)
|
||||
end
|
||||
|
|
|
@ -39,6 +39,10 @@ class Repository::Filesystem < Repository
|
|||
'Filesystem'
|
||||
end
|
||||
|
||||
def supports_all_revisions?
|
||||
false
|
||||
end
|
||||
|
||||
def entries(path=nil, identifier=nil)
|
||||
scm.entries(path, identifier)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue