diff lib/redmine/scm/adapters/mercurial_adapter.rb @ 251:c2ffbc10233e cannam

* We don't use Mercurial <1.5
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 03 Mar 2011 14:39:01 +0000
parents eeebe205a056
children 753f1380d6bc
line wrap: on
line diff
--- a/lib/redmine/scm/adapters/mercurial_adapter.rb	Thu Mar 03 14:38:43 2011 +0000
+++ b/lib/redmine/scm/adapters/mercurial_adapter.rb	Thu Mar 03 14:39:01 2011 +0000
@@ -188,8 +188,7 @@
               output.force_encoding('UTF-8')
             end
             begin
-              # Mercurial < 1.5 does not support footer template for '</log>'
-              ActiveSupport::XmlMini.parse("#{output}</log>")['log']
+              ActiveSupport::XmlMini.parse("#{output}")['log']
             rescue
             end
           end