summaryrefslogtreecommitdiffstats
path: root/app/models/repository.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-03-16 00:50:11 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-03-16 00:50:11 +0000
commitbae1763a09aeb1067e4e901d3aa07b76378e7a73 (patch)
tree57fcf955cc9c41ae13695130a90aaaa191425112 /app/models/repository.rb
parentde5c337df25c712e00df881f377094a6a8f8153b (diff)
downloadredmine-bae1763a09aeb1067e4e901d3aa07b76378e7a73.tar.gz
redmine-bae1763a09aeb1067e4e901d3aa07b76378e7a73.zip
scm: set supporting directory revisions or not at scm level.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5144 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r--app/models/repository.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb
index 1aea88fe3..5cb27c920 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -75,6 +75,10 @@ class Repository < ActiveRecord::Base
true
end
+ def supports_directory_revisions?
+ false
+ end
+
def entry(path=nil, identifier=nil)
scm.entry(path, identifier)
end