diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-06-24 19:30:38 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-06-24 19:30:38 +0000 |
commit | ba1b857197abf897279ce4982c2c29004d668b7d (patch) | |
tree | 0c37fc52f911e4a504e8e6f54e0480d8c59c64d4 /app/models/repository.rb | |
parent | faa3d984ab0a44da354b901f4962d3441b800f99 (diff) | |
download | redmine-ba1b857197abf897279ce4982c2c29004d668b7d.tar.gz redmine-ba1b857197abf897279ce4982c2c29004d668b7d.zip |
Added Darcs basic support.
Files in the repository can not be viewed or downloaded since Darcs doesn't support cat-like command.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@573 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r-- | app/models/repository.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index 667ef5efc..f77b51db2 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -30,6 +30,10 @@ class Repository < ActiveRecord::Base self.class.scm_name end + def supports_cat? + scm.supports_cat? + end + def entries(path=nil, identifier=nil) scm.entries(path, identifier) end |