Skip to content
Snippets Groups Projects
Commit e66945cb authored by Jean-Philippe Lang's avatar Jean-Philippe Lang
Browse files

Fixes Darcs#cat with Postgresql.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2095 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 8a0a25fc
No related merge requests found
......@@ -52,7 +52,7 @@ class Repository::Darcs < Repository
end
def cat(path, identifier=nil)
patch = identifier.nil? ? nil : changesets.find_by_revision(identifier)
patch = identifier.nil? ? nil : changesets.find_by_revision(identifier.to_s)
scm.cat(path, patch.nil? ? nil : patch.scmid)
end
......
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