From 15795c438552db73802f06902648135c00cc9d06 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 3 Nov 2011 08:12:01 +0000 Subject: [PATCH] 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 --- app/models/repository.rb | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5