From: Toshi MARUYAMA Date: Thu, 3 Nov 2011 08:12:01 +0000 (+0000) Subject: scm: model: add method to switch revision graph support or not and set default false... X-Git-Tag: 1.3.0~279 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=15795c438552db73802f06902648135c00cc9d06;p=redmine.git scm: model: add method to switch revision graph support or not and set default false (#5501) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7716 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/models/repository.rb b/app/models/repository.rb index 15bfee64c..2cd5c8820 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -108,6 +108,10 @@ class Repository < ActiveRecord::Base false end + def supports_revision_graph? + false + end + def entry(path=nil, identifier=nil) scm.entry(path, identifier) end