Commit 2365f2bf authored by tmaruyama's avatar tmaruyama

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: https://svn.redmine.org/redmine/trunk@5478 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 4a39b190
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment