diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-04-17 06:28:16 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-04-17 06:28:16 +0000 |
commit | c80fe134f5578dc1bd562fbb46e9dfb7e25bf1a3 (patch) | |
tree | a17b1636da3e1ffad6f3bbe26dbfc0dea88a74a9 /app/models/repository/darcs.rb | |
parent | eb4ca1ac292dff25fa42e4d6a26f054c573d0e73 (diff) | |
download | redmine-c80fe134f5578dc1bd562fbb46e9dfb7e25bf1a3.tar.gz redmine-c80fe134f5578dc1bd562fbb46e9dfb7e25bf1a3.zip |
scm: darcs: set supports_directory_revisions true at model (#7984).
Darcs adapter saves directory changes in database.
So, Redmine 1.1 shows latest changesets in sub directory.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5478 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/repository/darcs.rb')
-rw-r--r-- | app/models/repository/darcs.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/repository/darcs.rb b/app/models/repository/darcs.rb index 0ad7bfc27..e1f9f7eea 100644 --- a/app/models/repository/darcs.rb +++ b/app/models/repository/darcs.rb @@ -36,6 +36,10 @@ class Repository::Darcs < Repository 'Darcs' end + def supports_directory_revisions? + true + end + def entry(path=nil, identifier=nil) patch = identifier.nil? ? nil : changesets.find_by_revision(identifier) scm.entry(path, patch.nil? ? nil : patch.scmid) |