]> source.dussan.org Git - redmine.git/commitdiff
scm: mercurial: fix unit adapter annotate test fails on Windows Mercurial 1.8.4+29...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 10 Jun 2011 07:06:11 +0000 (07:06 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 10 Jun 2011 07:06:11 +0000 (07:06 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6042 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/mercurial_adapter.rb

index d02ed78b008e77a30c5e356c2f2626bd0cf7f04f..c84e5d3ca7ff3988c4dea9123daadae1a0377e11 100644 (file)
@@ -276,7 +276,8 @@ module Redmine
           end
           blame
         rescue HgCommandAborted
-          nil  # means not found or cannot be annotated
+          # means not found or cannot be annotated
+          Annotate.new
         end
 
         class Revision < Redmine::Scm::Adapters::Revision