Fixes Darcs#cat with Postgresql.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2095 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2008-12-06 17:20:37 +00:00
parent 8a0a25fceb
commit e66945cbd8
1 changed files with 1 additions and 1 deletions

View File

@ -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