##// END OF EJS Templates
Fixed: crash when fetching Mercurial changesets if changeset[:files] is nil (same fix as r921)....
Jean-Philippe Lang -
r1032:78d9ae975457
parent child
Show More
@@ -112,7 +112,7 module Redmine
112 112 :author => changeset[:user],
113 113 :time => Time.parse(changeset[:date]),
114 114 :message => changeset[:description],
115 :paths => changeset[:files].split.collect{|path| {:action => 'X', :path => "/#{path}"}}
115 :paths => changeset[:files].to_s.split.collect{|path| {:action => 'X', :path => "/#{path}"}}
116 116 })
117 117 end
118 118 return nil if $? && $?.exitstatus != 0
General Comments 0
You need to be logged in to leave comments. Login now