diff --git a/lib/redmine/scm/adapters/mercurial_adapter.rb b/lib/redmine/scm/adapters/mercurial_adapter.rb index 1b9cab47c..3c905fc0f 100644 --- a/lib/redmine/scm/adapters/mercurial_adapter.rb +++ b/lib/redmine/scm/adapters/mercurial_adapter.rb @@ -112,7 +112,7 @@ module Redmine :author => changeset[:user], :time => Time.parse(changeset[:date]), :message => changeset[:description], - :paths => changeset[:files].split.collect{|path| {:action => 'X', :path => "/#{path}"}} + :paths => changeset[:files].to_s.split.collect{|path| {:action => 'X', :path => "/#{path}"}} }) end return nil if $? && $?.exitstatus != 0