Mercurial > hg > soundsoftware-site
diff app/models/repository/darcs.rb @ 1517:dffacf8a6908 redmine-2.5
Update to Redmine SVN revision 13367 on 2.5-stable branch
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 09:29:00 +0100 |
parents | e248c7af89ec |
children | a1bdbf8a87d5 |
line wrap: on
line diff
--- a/app/models/repository/darcs.rb Tue Sep 09 09:28:31 2014 +0100 +++ b/app/models/repository/darcs.rb Tue Sep 09 09:29:00 2014 +0100 @@ -45,7 +45,7 @@ scm.entry(path, patch.nil? ? nil : patch.scmid) end - def entries(path=nil, identifier=nil) + def scm_entries(path=nil, identifier=nil) patch = nil if ! identifier.nil? patch = changesets.find_by_revision(identifier) @@ -66,9 +66,9 @@ end end end - load_entries_changesets(entries) entries end + protected :scm_entries def cat(path, identifier=nil) patch = identifier.nil? ? nil : changesets.find_by_revision(identifier.to_s)