summaryrefslogtreecommitdiffstats
path: root/app/models/repository.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-02 20:58:02 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-02 20:58:02 +0000
commit8c65cc47122b802150bf3591cb4eba4f8c4fb4b4 (patch)
tree220613c121aa31f859cca016c04e7d3cc6fab320 /app/models/repository.rb
parente4724c7626a329cee82875a7e1bbec450eab4667 (diff)
downloadredmine-8c65cc47122b802150bf3591cb4eba4f8c4fb4b4.tar.gz
redmine-8c65cc47122b802150bf3591cb4eba4f8c4fb4b4.zip
Added Annotate/Blame view for Subversion, CVS and Mercurial repositories.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@947 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 35dd6803f..be31ac2e5 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -33,6 +33,10 @@ class Repository < ActiveRecord::Base
def supports_cat?
scm.supports_cat?
end
+
+ def supports_annotate?
+ scm.supports_annotate?
+ end
def entries(path=nil, identifier=nil)
scm.entries(path, identifier)